:root {
  color: #18342c;
  background: #f3f5ed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f3f5ed; }
body.is-navigating { cursor: progress; }
img.navigation-image-paused { visibility: hidden; }
a { color: inherit; }
.pull-refresh-enabled { overscroll-behavior-y: none; }
.pull-refresh-surface { min-height: 100vh; transition: transform 180ms cubic-bezier(.22, .8, .32, 1); }
body.is-pulling-refresh .pull-refresh-surface, body.is-refreshing-page .pull-refresh-surface { transform: translate3d(0, var(--pull-refresh-page-offset, 0px), 0); }
body.is-pulling-refresh .pull-refresh-surface { transition: none; }
.pull-refresh-indicator { --pull-refresh-offset: 0px; position: fixed; z-index: 220; top: max(12px, env(safe-area-inset-top)); left: 50%; display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgb(255 255 255 / 58%); border-radius: 999px; opacity: 0; color: white; background: rgb(28 67 51 / 94%); box-shadow: 0 12px 34px rgb(25 55 43 / 24%); font-size: 13px; font-weight: 750; transform: translate(-50%, calc(-100% - 18px + var(--pull-refresh-offset))); transition: opacity 120ms ease, transform 120ms ease; pointer-events: none; }
body.is-pulling-refresh .pull-refresh-indicator, body.is-refreshing-page .pull-refresh-indicator { opacity: 1; }
.pull-refresh-icon { display: grid; width: 20px; height: 20px; place-items: center; border: 2px solid rgb(255 255 255 / 58%); border-radius: 50%; font-size: 14px; line-height: 1; transition: transform 120ms ease; }
body.is-pull-refresh-ready .pull-refresh-icon { transform: rotate(180deg); }
body.is-refreshing-page .pull-refresh-indicator { --pull-refresh-offset: 68px; }
body.is-refreshing-page .pull-refresh-icon { border-color: rgb(255 255 255 / 38%); border-top-color: white; font-size: 0; animation: navigation-spin .75s linear infinite; }
.navigation-progress { position: fixed; z-index: 210; top: 0; right: 0; left: 0; height: 3px; opacity: 0; background: linear-gradient(90deg, #3e725c, #9ac2a8); transform: scaleX(.08); transform-origin: left; pointer-events: none; }
body.is-navigating .navigation-progress { opacity: 1; animation: navigation-progress 8s cubic-bezier(.2, .7, .25, 1) forwards; }
.navigation-feedback { position: fixed; z-index: 205; top: max(14px, env(safe-area-inset-top)); left: 50%; display: flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgb(255 255 255 / 55%); border-radius: 999px; color: white; background: rgb(28 67 51 / 94%); box-shadow: 0 12px 34px rgb(25 55 43 / 24%); font-size: 13px; font-weight: 750; transform: translateX(-50%); pointer-events: none; }
.navigation-feedback[hidden] { display: none; }
.navigation-spinner { width: 15px; height: 15px; border: 2px solid rgb(255 255 255 / 42%); border-top-color: white; border-radius: 50%; animation: navigation-spin .75s linear infinite; }
.navigation-source { outline: 3px solid rgb(62 114 92 / 35%); outline-offset: 2px; opacity: .7 !important; }
@keyframes navigation-progress { from { transform: scaleX(.08); } to { transform: scaleX(.82); } }
@keyframes navigation-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  body.is-navigating .navigation-progress, .navigation-spinner, body.is-refreshing-page .pull-refresh-icon { animation: none; }
  body.is-navigating .navigation-progress { transform: scaleX(.72); }
  .pull-refresh-indicator, .pull-refresh-icon, .pull-refresh-surface { transition: none; }
}
.site-header { width: min(1320px, calc(100% - 40px)); margin: 0 auto; min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; }
.brand-mark { display: block; width: 36px; height: 36px; border: 1px solid #eadfbf; border-radius: 50%; background: #f8f1dc; object-fit: cover; box-shadow: 0 3px 10px rgb(38 69 55 / 14%); }
.lock-mark { display: grid; width: 36px; min-width: 36px; height: 36px; min-height: 36px; place-items: center; flex: 0 0 36px; border-radius: 50%; color: #f5f0dc; background: #254f3f; font-family: Georgia, serif; line-height: 1; }
nav { display: flex; align-items: center; gap: 16px; }
nav a, .nav-button { color: #49665a; font: inherit; font-size: 14px; font-weight: 650; text-decoration: none; }
nav form { margin: 0; }
.nav-button { padding: 0; border: 0; background: none; cursor: pointer; }
.nav-login { padding: 10px 16px; border: 1px solid #b5c5b9; border-radius: 999px; }
.desktop-nav { gap: 7px; }
.desktop-nav > a, .desktop-nav summary { position: relative; padding: 10px 9px; border-radius: 10px; color: #49665a; font-size: 14px; font-weight: 700; text-decoration: none; transition: color .16s ease, background .16s ease; }
.desktop-nav > a:hover, .desktop-nav summary:hover, .desktop-nav > a.active, .desktop-nav .nav-menu.active > summary { color: #244f3e; background: #e5ece4; }
.desktop-nav > a.active::after, .desktop-nav .nav-menu.active > summary::after { position: absolute; right: 10px; bottom: 3px; left: 10px; height: 2px; border-radius: 999px; background: #3e725c; content: ""; }
.nav-menu { position: relative; }
.nav-menu summary { display: flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { color: #82958a; font-size: 12px; transition: transform .16s ease; }
.nav-menu[open] summary span { transform: rotate(180deg); }
.nav-popover { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; display: grid; width: max-content; min-width: 150px; gap: 3px; padding: 8px; border: 1px solid #d2ddd4; border-radius: 14px; background: #fffef9; box-shadow: 0 18px 48px rgb(32 65 50 / 18%); }
.nav-popover-right { right: 0; left: auto; }
.nav-popover a, .nav-popover .nav-button { display: block; width: 100%; padding: 10px 12px; border-radius: 9px; text-align: left; }
.nav-popover a:hover, .nav-popover .nav-button:hover, .nav-popover a[aria-current="page"] { color: #244f3e; background: #edf2eb; }
.nav-icon-link, .mobile-header-search { place-items: center; }
.nav-icon-link svg, .mobile-header-search svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.mobile-header-actions, .mobile-scroll-nav, .mobile-account-actions { display: none; }
.section-tabs { justify-content: flex-start; gap: 8px; margin: -12px 0 30px; padding-bottom: 2px; }
.section-tabs a { padding: 10px 15px; border: 1px solid #c8d4ca; border-radius: 999px; background: rgb(255 255 255 / 55%); }
.section-tabs a[aria-current="page"] { color: white; border-color: #2d654e; background: #2d654e; }
.location-tabs { max-width: calc(100% + 12px); overflow-x: auto; margin-right: -6px; margin-left: -6px; padding: 6px 6px 12px; scroll-padding-inline: 6px; scrollbar-width: thin; scrollbar-color: #b7c8bc transparent; }
.location-tabs a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; white-space: nowrap; }
.location-tabs small { display: grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border-radius: 999px; color: #5e776a; background: #e4ebe3; font-size: 11px; font-weight: 800; }
.location-tabs a[aria-current="page"] small { color: #28513f; background: #dce9dd; }
.section-block.location-tab-panel { padding-top: 18px; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { min-height: 610px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(30px, 7vw, 100px); padding: 48px 0 72px; }
.eyebrow { margin: 0 0 16px; color: #6c8878; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-heading h1, .auth-card h1 { margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7.5vw, 92px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.lede { max-width: 600px; color: #526a60; font-size: 18px; line-height: 1.8; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 14px 22px; border: 0; border-radius: 999px; color: white; background: #2d654e; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; box-shadow: 0 12px 30px rgb(45 101 78 / 22%); }
.primary-action.full { width: 100%; }
.hero-art { position: relative; min-height: 440px; overflow: hidden; border-radius: 48% 48% 28px 28px; background: linear-gradient(#d9e9de 0 55%, #9ebaa5 55% 59%, #476c59 59%); box-shadow: inset 0 0 0 1px rgb(24 52 44 / 7%), 0 35px 80px rgb(39 77 59 / 18%); }
.sun { position: absolute; top: 68px; left: 55px; width: 105px; height: 105px; border-radius: 50%; background: #f2d99c; box-shadow: 0 0 60px #f2d99c; }
.bird { position: absolute; color: #294d3e; font: 72px Georgia, serif; transform: rotate(8deg); }
.bird-one { top: 120px; right: 80px; }.bird-two { top: 195px; right: 160px; font-size: 48px; }
.reed { position: absolute; bottom: -8px; width: 5px; height: 190px; border-radius: 100%; background: #264e3c; transform-origin: bottom; }
.reed::before { position: absolute; top: -36px; left: -8px; width: 20px; height: 48px; border-radius: 50%; background: #654d2d; content: ""; }
.reed-one { left: 20%; transform: rotate(-8deg); }.reed-two { left: 45%; height: 240px; transform: rotate(4deg); }.reed-three { right: 18%; height: 165px; transform: rotate(11deg); }
.privacy-note { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 18px; margin-bottom: 80px; padding: 26px 28px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 58%); }
.privacy-note h2 { margin-bottom: 5px; font: 600 20px Georgia, serif; }.privacy-note p { margin: 0; color: #63756c; line-height: 1.6; }
.auth-shell { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 40px 0 80px; }
.auth-card { width: min(470px, 100%); padding: clamp(30px, 6vw, 56px); border: 1px solid #d5ded3; border-radius: 28px; background: #fffef9; box-shadow: 0 28px 80px rgb(38 69 55 / 12%); }
.auth-card h1 { font-size: 52px; }.auth-card > p { color: #65776e; }
.login-form { display: grid; gap: 18px; margin-top: 28px; }.login-form label { display: grid; gap: 8px; color: #40594e; font-size: 14px; font-weight: 700; }
.login-form input { width: 100%; padding: 13px 14px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: white; font: inherit; }
.form-error { margin-top: 18px; padding: 11px 13px; border-radius: 10px; color: #8c2f2b; background: #f8e4df; }
.page-heading { padding: 70px 0 45px; }.page-heading.compact { padding-bottom: 34px; }.page-heading h1 { margin-bottom: 18px; font-size: clamp(46px, 6vw, 76px); }.page-heading > p:last-child { color: #61746a; font-size: 17px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-grid article, .stat-grid .stat-link { padding: 28px; border-radius: 22px; background: #234e3d; color: #eef3e8; }.stat-grid strong { display: block; font: 500 54px Georgia, serif; }.stat-grid span { color: #c9dbce; }
.stat-grid .stat-link { display: block; text-decoration: none; }.stat-grid .stat-link:hover { background: #2f624d; }
.family-stat-links { flex-wrap: wrap; gap: 4px 10px; margin: -10px 0 28px; font-size: clamp(12px, 3.1vw, 15px); color: #526b5c; }.family-stat-links a { white-space: nowrap; padding: 8px 0; }.family-stat-links > span { color: #82958a; }
.archive-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; margin: 0 0 28px; }.archive-filters label { display: grid; gap: 6px; min-width: 140px; max-width: 100%; color: #40594e; font-size: 13px; }.archive-filters select { width: 100%; min-height: 44px; padding: 8px 30px 8px 12px; border: 1px solid #bdcac1; border-radius: 10px; background: #fffef9; color: #18342c; font: inherit; }.archive-filters button { min-height: 44px; }.archive-filters > a { padding: 12px 0; }
#life-list { scroll-margin-top: 90px; }
.section-block { padding: 70px 0 90px; }.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }.section-title h2 { margin: 0; font: 500 36px Georgia, serif; }.section-title > a { color: #376650; font-weight: 700; text-decoration: none; }
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.member-card { display: flex; align-items: center; gap: 15px; padding: 22px; border: 1px solid #d7dfd5; border-radius: 18px; background: rgb(255 255 255 / 62%); text-decoration: none; }.avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; overflow: hidden; border-radius: 50%; color: white; background: #789685; font: 500 22px Georgia, serif; }.avatar.avatar-image { display: block; object-fit: cover; }.avatar.large { width: 66px; height: 66px; font-size: 28px; }.avatar.profile { width: 92px; height: 92px; }.member-heading { display: flex; align-items: center; gap: 24px; }.member-heading h1 { margin-bottom: 18px; }.member-heading > div > p:last-child { color: #61746a; font-size: 17px; }.member-card h3 { margin-bottom: 4px; }.member-card p { margin: 0; color: #718078; font-size: 14px; }
.gallery-filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) auto; align-items: end; gap: 14px; margin: 0 0 34px; padding: 20px; border: 1px solid #d5ded3; border-radius: 20px; background: rgb(255 255 255 / 66%); box-shadow: 0 12px 34px rgb(42 74 59 / 6%); }
.gallery-filters label, .filter-field { display: grid; gap: 8px; min-width: 0; color: #40594e; font-size: 13px; font-weight: 750; }.gallery-filters select, .gallery-filters input:not([type="hidden"]), .searchable-select-trigger { width: 100%; min-width: 0; height: 44px; padding: 11px 13px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: #fffef9; font: inherit; }.gallery-filters select { padding-right: 36px; }
.searchable-select { position: relative; min-width: 0; }.searchable-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; text-align: left; }.searchable-select-trigger [data-selected-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.select-chevron { width: 8px; height: 8px; flex: 0 0 auto; border-right: 2px solid #668075; border-bottom: 2px solid #668075; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }.searchable-select-trigger[aria-expanded="true"] .select-chevron { transform: translateY(2px) rotate(225deg); }
.searchable-select-menu { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; width: max(100%, 260px); padding: 10px; border: 1px solid #bdcac1; border-radius: 14px; background: #fffef9; box-shadow: 0 20px 50px rgb(31 62 48 / 20%); }.searchable-select-menu[hidden] { display: none; }.gallery-filters .searchable-select-search { height: 40px; margin-bottom: 8px; background: white; }.searchable-select-options { max-height: 250px; overflow-y: auto; overscroll-behavior: contain; }.searchable-select-options button { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 11px; border: 0; border-radius: 9px; color: #29483c; background: transparent; font: inherit; cursor: pointer; text-align: left; }.searchable-select-options button:hover, .searchable-select-options button:focus-visible { outline: none; background: #edf3ec; }.searchable-select-options button[aria-selected="true"] { color: #1e5d45; background: #e3eee5; }.searchable-select-options button[hidden] { display: none; }.searchable-select-options small { color: #708078; font-size: 11px; font-weight: 600; text-align: right; }.searchable-select-empty { margin: 12px 8px 5px; color: #7b8981; font-size: 12px; font-weight: 600; }.searchable-select-empty[hidden] { display: none; }
.filter-actions { display: flex; align-items: center; gap: 13px; min-height: 43px; }.filter-submit { padding: 12px 17px; border: 0; border-radius: 12px; color: white; background: #2d654e; font: inherit; font-weight: 750; cursor: pointer; white-space: nowrap; }.filter-actions a { color: #49665a; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.species-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr) auto; align-items: end; gap: 14px; margin: 0 0 34px; padding: 20px; border: 1px solid #d5ded3; border-radius: 20px; background: rgb(255 255 255 / 66%); box-shadow: 0 12px 34px rgb(42 74 59 / 6%); }
.species-controls label { display: grid; gap: 8px; min-width: 0; color: #40594e; font-size: 13px; font-weight: 750; }.species-controls input, .species-controls select { width: 100%; min-width: 0; height: 44px; padding: 11px 13px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: #fffef9; font: inherit; }.species-controls select { padding-right: 36px; }
.empty-gallery { margin-bottom: 34px; padding: 38px 28px; border: 1px dashed #b8c9bd; border-radius: 20px; text-align: center; }.empty-gallery h2 { margin-bottom: 8px; font: 500 28px Georgia, serif; }.empty-gallery p { margin: 0; color: #687970; }.empty-gallery a { color: #2d654e; font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }.photo-card { min-width: 0; overflow: hidden; border-radius: 18px; background: #fffef9; box-shadow: 0 12px 36px rgb(42 74 59 / 10%); }.photo-frame { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #dce5dc; }.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }.photo-frame:hover img { transform: scale(1.025); }
.photo-meta { padding: 17px 18px 20px; }.photo-meta h2 { margin-bottom: 6px; font: 600 22px Georgia, serif; }.photo-meta p { margin-bottom: 10px; color: #687970; font-size: 14px; line-height: 1.5; }.photo-meta small { color: #829087; }.photo-meta-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }.photo-save-link { color: #2d654e; font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; }.photo-save-link[aria-disabled="true"] { color: #829087; cursor: wait; }
.photo-detail-heading { padding: 54px 0 28px; }.photo-detail-heading .back-link { display: inline-block; margin-bottom: 42px; color: #49665a; font-size: 14px; font-weight: 700; text-decoration: none; }.photo-detail-heading h1 { margin-bottom: 12px; font: 500 clamp(42px, 6vw, 70px) Georgia, serif; letter-spacing: -.04em; }.photo-detail-heading > p:last-child { color: #61746a; font-size: 17px; }
.photo-detail-heading h1 a, .photo-detail-heading > p:last-child a { text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.photo-detail-heading > p:last-child a { color: #47715c; }
.photo-detail-heading h1 a:hover, .photo-detail-heading h1 a:focus-visible, .photo-detail-heading > p:last-child a:hover, .photo-detail-heading > p:last-child a:focus-visible { color: #376650; text-decoration-line: underline; }

.original-photo-frame { display: grid; place-items: center; margin: 0; padding: clamp(8px, 2vw, 22px); border-radius: 22px; background: #17382e; box-shadow: 0 24px 70px rgb(23 56 46 / 18%); }.original-photo-frame[data-media-swipe] { touch-action: pan-y pinch-zoom; }.original-photo-frame img, .original-photo-frame video { display: block; max-width: 100%; max-height: min(82vh, 1100px); object-fit: contain; }.original-photo-frame video { width: 100%; }
.video-quality-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; color: #52685d; font-size: 13px; font-weight: 750; }.video-quality-controls select { min-width: 150px; height: 40px; padding: 8px 34px 8px 12px; border: 1px solid #bdcac1; border-radius: 11px; color: #18342c; background: #fffef9; font: inherit; }
.media-sequence-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 18px; }.media-sequence-nav a { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "arrow eyebrow" "arrow title" "arrow date"; align-items: center; column-gap: 13px; min-height: 78px; padding: 12px 16px; border: 1px solid #cbd7ce; border-radius: 16px; background: rgb(255 255 255 / 65%); text-decoration: none; }.media-sequence-nav a[data-media-next] { grid-template-columns: 1fr auto; grid-template-areas: "eyebrow arrow" "title arrow" "date arrow"; text-align: right; }.media-sequence-nav a > span { grid-area: arrow; color: #2d654e; font-size: 25px; }.media-sequence-nav small { grid-area: eyebrow; color: #718078; font-size: 11px; font-weight: 800; }.media-sequence-nav strong { grid-area: title; overflow: hidden; color: #29483c; font: 600 18px Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }.media-sequence-nav em { grid-area: date; color: #819087; font-size: 11px; font-style: normal; }.swipe-hint { margin: 10px 0 0; color: #7a8981; font-size: 12px; text-align: center; }
.original-actions { display: flex; align-items: center; gap: 18px; padding: 28px 0 76px; }.original-actions .primary-action { flex: 0 0 auto; margin: 0; }.original-actions .primary-action, .original-actions .secondary-action { white-space: nowrap; }.original-actions p { margin: 0; color: #687970; line-height: 1.6; }
.original-actions.photo-version-actions { display: grid; gap: 0; padding: 24px 0 48px; }
.photo-version-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: 18px 0; }
.photo-source-row { border-top: 1px solid #d5ded3; }
.photo-version-label { display: grid; gap: 5px; }.photo-version-label strong { color: #294f3e; font-size: 16px; }.photo-version-label span { color: #687970; font-size: 13px; }
.photo-version-buttons { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 10px; }.photo-version-buttons .primary-action, .photo-version-buttons .secondary-action { min-height: 48px; min-width: 128px; padding: 12px 20px; font-size: 14px; line-height: 22px; box-sizing: border-box; }
.photo-version-buttons [aria-disabled="true"] { opacity: .65; cursor: wait; }.photo-version-actions .photo-save-hint { padding-top: 8px; font-size: 13px; }
@media (max-width: 600px) {
  .photo-version-row { align-items: stretch; gap: 12px; }.photo-version-label { width: 100%; }
  .photo-version-buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }.photo-version-buttons .primary-action, .photo-version-buttons .secondary-action { min-width: 0; padding: 12px 8px; }
}
.pagination { justify-content: center; gap: clamp(8px, 3vw, 16px); padding: 50px 0 80px; }.pagination a { color: #2d654e; font-weight: 750; text-decoration: none; white-space: nowrap; }.pagination-jump { margin: 0; }.pagination-jump label { display: flex; min-height: 44px; align-items: center; gap: 7px; color: #74847b; cursor: text; white-space: nowrap; }.pagination-jump input { width: max(44px, calc(var(--page-digits, 2) * 1ch + 24px)); height: 44px; padding: 0 8px; border: 1px solid #9fb4a7; border-radius: 11px; outline: none; color: #245a44; background: #fffef9; box-shadow: 0 4px 14px rgb(42 74 59 / 8%); font: inherit; font-weight: 800; text-align: center; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; appearance: textfield; }.pagination-jump input::-webkit-inner-spin-button, .pagination-jump input::-webkit-outer-spin-button { margin: 0; appearance: none; }.pagination-jump input:hover { border-color: #6f917f; background: #fff; }.pagination-jump input:focus { border-color: #2d654e; background: #fff; box-shadow: 0 0 0 4px rgb(45 101 78 / 14%); }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 36px; border-top: 1px solid #d7dfd5; color: #7b8981; font-size: 13px; }

.section-divider { border-top: 1px solid #d7dfd5; }
.section-meta { color: #74847b; font-size: 14px; }
.page-bottom-space { height: 80px; }
.stat-grid-four { grid-template-columns: repeat(4, 1fr); }
.stat-grid-four article:last-child strong, .stat-grid-four .stat-link:last-child strong { font-size: clamp(24px, 3vw, 42px); line-height: 1.35; }
.species-heading em { font-family: Georgia, serif; }
.species-heading { padding-bottom: 12px; }
.species-heading > p:not(.eyebrow) { color: #61746a; font-size: 17px; }
.species-summary { margin-top: 20px; color: #2f4a3e; font-size: 16px; line-height: 1.8; }
.species-summary p { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 4px 0 0; }
.species-summary time { white-space: nowrap; }
.species-summary a { color: inherit; text-decoration: underline; text-decoration-color: #b2c2b5; text-underline-offset: 4px; }
.species-summary a:hover { text-decoration-color: currentColor; }
.feature-note { margin-top: 28px; padding: 28px 30px; border: 1px solid #c9d7cd; border-radius: 22px; background: rgb(255 255 255 / 62%); }
.feature-note h2 { margin-bottom: 8px; font: 500 30px Georgia, serif; }
.feature-note p:last-child { margin: 0; color: #61746a; }
.chart-note { margin: -8px 0 24px; color: #687970; font-size: 14px; line-height: 1.65; }
.season-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.season-chart { min-width: 0; padding: 22px; border: 1px solid #d5ded3; border-radius: 20px; background: rgb(255 255 255 / 66%); }
.season-chart-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.season-chart-heading h3 { margin: 0; font: 600 24px Georgia, serif; }
.season-chart-heading span { color: #74847b; font-size: 12px; text-align: right; }
.season-chart-heading a { color: #376650; font-weight: 750; }
.season-bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; gap: 5px; min-height: 132px; padding-top: 20px; border-bottom: 1px solid #cbd7ce; }
.season-month { display: grid; grid-template-rows: 18px 90px 20px; align-items: end; justify-items: center; min-width: 0; }
.season-value { color: #63756c; font-size: 10px; font-weight: 750; white-space: nowrap; }
.season-bar { display: block; width: min(18px, 78%); min-height: 2px; border-radius: 5px 5px 0 0; background: #c8d4ca; }
.season-bar.level-1 { height: 9px; }.season-bar.level-2 { height: 18px; }.season-bar.level-3 { height: 27px; }.season-bar.level-4 { height: 36px; }.season-bar.level-5 { height: 45px; }.season-bar.level-6 { height: 54px; }.season-bar.level-7 { height: 63px; }.season-bar.level-8 { height: 72px; }.season-bar.level-9 { height: 81px; }.season-bar.level-10 { height: 90px; }
.season-bars.is-continuous .season-bar { height: var(--season-bar-height, 2px); }
.season-bars.is-label-layout .season-month { position: relative; grid-template-rows: 110px 20px; }
.season-bars.is-label-layout .season-value { position: absolute; z-index: 1; left: 50%; bottom: calc(20px + var(--season-bar-height, 2px) + 4px); transform: translateX(-50%); }
.season-bars.is-label-layout .season-value[data-label-lift="1"] { transform: translate(-50%, -12px); }
.season-bars.is-label-layout .season-value[data-label-lift="2"] { transform: translate(-50%, -24px); }
.season-bars.is-label-layout .season-value[data-label-lift="3"] { transform: translate(-50%, -36px); }
.season-bar:not(.level-0) { background: linear-gradient(#7fa18e, #315f4b); }
.season-month small { color: #7b8981; font-size: 10px; }

.species-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.species-card { min-width: 0; overflow: hidden; border: 1px solid #d7dfd5; border-radius: 20px; background: #fffef9; text-decoration: none; box-shadow: 0 12px 34px rgb(42 74 59 / 7%); }
.species-card > img, .species-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 16/10; color: #edf3e8; background: linear-gradient(135deg, #8ca797, #2f5d49); font: 52px Georgia, serif; }
.species-card > img { object-fit: contain; background: #17382e; }
.species-card > div { padding: 18px 19px 21px; }
.species-card h2 { margin-bottom: 5px; font: 600 25px Georgia, serif; }
.species-card p { margin-bottom: 8px; overflow: hidden; color: #667970; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.species-card .latin { color: #526a60; font-family: Georgia, serif; font-size: 15px; }
.species-card small { color: #809087; line-height: 1.5; }

.trip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.trip-grid.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trip-card { min-width: 0; overflow: hidden; border-radius: 22px; background: #fffef9; text-decoration: none; box-shadow: 0 16px 42px rgb(42 74 59 / 10%); }
.trip-card > img, .trip-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 16/9; object-fit: cover; color: white; background: linear-gradient(145deg, #91ac9b, #315f4b); font: 500 42px Georgia, serif; }
.trip-card > div { padding: 19px 21px 23px; }
.trip-card time { color: #71877a; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.trip-card h2, .trip-card h3 { margin: 7px 0 8px; font: 600 25px Georgia, serif; }
.trip-card p { margin: 0; color: #6d7e75; font-size: 14px; line-height: 1.5; }
.activity-new { color: #267044; font-weight: 800; white-space: nowrap; }
.activity-view { margin: 16px 0 22px; }
.activity-view a.active { color: #fff; background: #3c6352; border-color: #3c6352; }
.activity-list { border-top: 1px solid #d5ded3; }
.activity-row, .activity-list-header { display: grid; grid-template-columns: 112px minmax(140px, 1fr) 52px 52px minmax(110px, .65fr) 64px; align-items: center; gap: 12px 16px; padding: 19px 12px; border-bottom: 1px solid #d5ded3; color: inherit; text-decoration: none; }
.activity-list-header { color: #6d7e75; font-size: 14px; font-weight: 700; padding-top: 13px; padding-bottom: 13px; }
.activity-list-header a { color: inherit; text-decoration: none; display: inline-block; padding: 5px 0; }
.activity-list-header a[aria-current] { color: #267044; }
.activity-number { text-align: right; font-variant-numeric: tabular-nums; }
.activity-desktop-cell { font-size: 14px; line-height: 1.6; }
.activity-stats-mobile, .activity-sort-mobile { display: none; }
.stat-grid .activity-new { color: #e5efd2; }
.activity-row:hover, .activity-row:focus-visible { background: #eaf0e8; }
.activity-row time, .activity-stats { color: #6d7e75; font-size: 14px; line-height: 1.6; }
.activity-row strong { font-size: 18px; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .activity-row { grid-template-columns: 1fr; gap: 5px; padding: 17px 4px; }
  .activity-list-header, .activity-desktop-cell { display: none; }
  .activity-stats-mobile { display: block; }
  .activity-sort-mobile { display: flex; align-items: end; gap: 10px; margin: 14px 0; }
  .activity-sort-mobile label { display: grid; gap: 5px; flex: 1; }
}
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan-card { display: block; padding: 25px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 70%); text-decoration: none; box-shadow: 0 14px 38px rgb(42 74 59 / 8%); }
.plan-card > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.plan-card time { color: #71877a; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.plan-card h2 { margin: 18px 0 8px; font: 600 28px Georgia, serif; }
.plan-card p { margin: 0; color: #6d7e75; }
.plan-asset-gallery { margin: 8px 0 34px; overflow: hidden; border: 1px solid #cbd7ce; border-radius: 24px; background: rgb(255 255 255 / 68%); box-shadow: 0 18px 48px rgb(42 74 59 / 9%); }
.plan-asset-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 22px 24px 18px; }.plan-asset-heading h2 { margin: 3px 0 0; font: 600 28px Georgia, serif; }.plan-asset-heading > p { margin: 0; color: #718078; font-size: 12px; }
.plan-asset-frame { overflow: hidden; background: #17382e; }.plan-asset-track { width: 100%; }.plan-asset-slide { display: none; margin: 0; }.plan-asset-slide.is-active { display: grid; }.plan-asset-slide > a { display: grid; min-height: 280px; place-items: center; background: #17382e; }.plan-asset-slide img { display: block; width: 100%; max-height: min(72vh, 1050px); object-fit: contain; }.plan-asset-slide figcaption { display: grid; gap: 5px; padding: 14px 20px 16px; color: #dce9df; background: #204638; line-height: 1.55; }.plan-asset-slide figcaption strong { font: 600 18px Georgia, serif; }.plan-asset-slide figcaption span { color: #bcd0c3; font-size: 12px; }
.plan-asset-controls { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 13px; padding: 9px 16px; border-top: 1px solid #d5ded3; }.plan-asset-controls > button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid #b9c9be; border-radius: 50%; color: #2d654e; background: transparent; font: inherit; cursor: pointer; }.plan-asset-controls > button:hover, .plan-asset-controls > button:focus-visible { background: #e5eee6; }.plan-asset-dots { display: flex; align-items: center; gap: 7px; }.plan-asset-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #aabbb0; cursor: pointer; }.plan-asset-dots button[aria-current="true"] { width: 22px; border-radius: 999px; background: #35664f; }.plan-asset-controls > span { min-width: 42px; color: #66796f; font-size: 12px; font-weight: 750; text-align: center; }
.status-chip { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #2b5845; background: #dfebe1; font-size: 12px; font-weight: 800; }
.status-chip.draft { color: #75592e; background: #f2e9d2; }.status-chip.cancelled { color: #6f6f6f; background: #e9e9e5; }.status-chip.completed { color: #39546b; background: #e0e9ef; }
.plan-stop-list { display: grid; gap: 20px; }
.plan-stop { padding: 24px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 66%); }
.plan-stop > header { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 15px; }
.plan-stop > header > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: white; background: #2d654e; font-weight: 800; }
.plan-stop h3 { margin: 0 0 5px; overflow-wrap: anywhere; font: 600 25px Georgia, serif; }.plan-stop h3 a { text-decoration: none; }.plan-stop header p { margin: 0; color: #718078; font-size: 13px; }
.plan-stop-note { margin: 18px 0 0; color: #526a60; line-height: 1.65; }
.target-disclosure { margin-top: 20px; border-top: 1px solid #d5ded3; border-bottom: 1px solid #d5ded3; }.target-disclosure:not([open]) > :not(summary) { display: none; }.target-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 2px; color: #29483c; cursor: pointer; list-style: none; }.target-disclosure > summary::-webkit-details-marker { display: none; }.target-disclosure > summary:focus-visible { border-radius: 8px; outline: 3px solid rgb(83 122 102 / 30%); outline-offset: 4px; }.target-disclosure-summary { display: grid; gap: 4px; }.target-disclosure-summary strong { font: 600 19px Georgia, serif; }.target-disclosure-summary small { color: #718078; font-size: 12px; }.target-disclosure-action { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #35664f; background: #e5eee6; font-size: 12px; font-weight: 800; }.target-disclosure .when-open { display: none; }.target-disclosure[open] .when-closed { display: none; }.target-disclosure[open] .when-open { display: inline; }
.target-data-summary { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #edf3ec; }.target-data-summary > span { padding: 4px 8px; border-radius: 999px; color: #fff; background: #537a66; font-size: 11px; font-weight: 800; }.target-data-summary-copy { display: grid; min-width: 0; gap: 4px; }.target-data-summary strong { color: #29483c; font-size: 14px; }.target-data-summary p { margin: 0; color: #6e7f76; font-size: 12px; line-height: 1.55; }
.target-list { display: grid; margin-top: 16px; border-top: 1px solid #d7dfd5; }
.target-list > div { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(260px, 1.45fr); align-items: start; gap: 18px; padding: 18px 2px; border-bottom: 1px solid #d7dfd5; }.target-identity { display: grid; gap: 4px; }.target-identity strong { font: 600 19px Georgia, serif; }.target-identity em { color: #66796f; font-size: 13px; }.target-list small { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 2px; color: #75877e; font-size: 12px; line-height: 1.55; }.target-list small > span:not(:last-child)::after, .target-local-evidence::after { margin-left: 12px; color: #b7c1ba; content: "·"; }.target-local-evidence { color: #35664f; font-weight: 800; }.target-count { margin: 14px 0 16px; color: #78887f; font-size: 12px; }.target-method { margin-top: 22px; padding-top: 16px; border-top: 1px solid #d5ded3; color: #687970; }.target-method:not([open]) > :not(summary) { display: none; }.target-method summary { display: grid; width: fit-content; gap: 3px; color: #496457; cursor: pointer; }.target-method summary strong { font-size: 13px; }.target-method summary small { color: #829087; font-size: 11px; font-weight: 500; }.target-method-content { max-width: 940px; margin-top: 14px; }.target-method-lead { margin: 0; padding: 14px 16px; border-radius: 14px; color: #365447; background: #edf3ec; font-size: 14px; font-weight: 700; line-height: 1.65; }.target-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; }.target-method-grid > div { padding: 15px 16px; border: 1px solid #dce4da; border-radius: 14px; background: rgb(255 255 255 / 55%); }.target-method-grid dt { color: #315b48; font-size: 13px; font-weight: 800; }.target-method-grid dd { margin: 7px 0 0; color: #687970; font-size: 13px; line-height: 1.65; }.target-method-note { margin: 10px 0 0; padding: 0 2px; color: #687970; font-size: 13px; line-height: 1.65; }.target-method-note strong { color: #496457; }
.target-warning { margin: 20px 0 0; padding: 13px 15px; border-radius: 12px; color: #6f613f; background: #f1ead7; line-height: 1.55; }

.public-nav { display: flex; align-items: center; gap: 16px; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .primary-action { min-height: 50px; margin-top: 0; }
.public-nav a { color: #355e4c; font-weight: 750; text-decoration: none; }
.secondary-action { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid #afc1b5; border-radius: 999px; color: #355e4c; background: rgb(255 255 255 / 44%); box-shadow: 0 8px 22px rgb(42 74 59 / 8%); font-weight: 750; text-decoration: none; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.secondary-action:hover, .secondary-action:focus-visible { border-color: #789786; background: rgb(255 255 255 / 76%); transform: translateY(-1px); }
.home-public-gallery { padding: 20px 0 70px; }
.public-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 78px 0 34px; }
.public-gallery-heading > div { max-width: 780px; }
.public-gallery-heading h1 { margin: 0 0 18px; font: 500 clamp(44px, 6vw, 76px)/1 Georgia, serif; letter-spacing: -.04em; }
.public-gallery-heading p:last-child { max-width: 680px; margin: 0; color: #61746a; font-size: 17px; line-height: 1.75; }
.public-gallery-filter { display: grid; gap: 14px; margin-bottom: 30px; padding: 16px 18px; border: 1px solid #d5ded3; border-radius: 16px; background: rgb(255 255 255 / 62%); }
.public-gallery-filter-fields { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 1fr) minmax(150px, .65fr); gap: 12px; }
.public-gallery-filter label { display: grid; min-width: 0; gap: 7px; color: #40594e; font-size: 13px; font-weight: 800; }
.public-gallery-filter select { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #bdcac1; border-radius: 10px; background: #fffef9; font: inherit; }
.public-gallery-filter-actions { display: flex; align-items: center; gap: 12px; }
.public-gallery-filter button { padding: 10px 16px; border: 0; border-radius: 10px; color: #fff; background: #2d654e; font: inherit; font-weight: 750; cursor: pointer; }
.public-gallery-filter a { color: #466858; font-weight: 700; }
.public-gallery-filter-actions span { margin-left: auto; color: #74847b; font-size: 13px; }
.public-feature-carousel { margin: 0 0 34px; }.public-feature-carousel .feature-image-link { position: relative; }.public-feature-carousel .feature-photo .feature-reason { margin-bottom: 20px; }.public-gallery-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 18px; }.public-gallery-results-heading h2 { margin: 3px 0 0; font: 500 32px Georgia, serif; }.public-gallery-results-heading > span { color: #74847b; font-size: 13px; }
.public-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.public-photo-card { min-width: 0; overflow: hidden; border-radius: 20px; background: #fffef9; box-shadow: 0 14px 38px rgb(42 74 59 / 10%); }
.public-photo-frame { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #dce5dc; }
.public-photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.public-photo-frame:hover img { transform: scale(1.025); }
.public-photo-frame span { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgb(19 48 37 / 82%); font-size: 12px; font-weight: 750; opacity: 0; transition: opacity .2s; }
.public-photo-frame:hover span, .public-photo-frame:focus-visible span { opacity: 1; }
.public-video-frame { background: #17382e; }.public-video-frame::after { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; border: 2px solid rgb(255 255 255 / 78%); border-radius: 50%; background: rgb(13 34 27 / 68%); color: #fff; content: "▶"; display: grid; place-items: center; padding-left: 4px; font-size: 22px; transform: translate(-50%, -50%); transition: background .2s, transform .2s; }.public-video-frame:hover::after, .public-video-frame:focus-visible::after { background: rgb(24 76 55 / 92%); transform: translate(-50%, -50%) scale(1.06); }.public-media-badge { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgb(19 48 37 / 82%); font-size: 11px; font-style: normal; font-weight: 800; pointer-events: none; }
.public-photo-card > div { padding: 17px 18px 20px; }
.public-photo-card h2 { margin: 0; font: 600 23px Georgia, serif; }
.public-photo-card p { margin: 8px 0 0; color: #667970; line-height: 1.6; }
.public-photo-card .public-location { color: #365f4d; font-size: 13px; font-weight: 750; }
.public-empty-gallery { margin-bottom: 90px; }
.public-lightbox { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 24px; }
.public-lightbox:target, .public-lightbox.is-open { display: grid; }
.public-lightbox-backdrop { position: absolute; inset: 0; background: rgb(11 28 22 / 92%); }
.public-lightbox figure { position: relative; z-index: 1; display: grid; width: min(1120px, 100%); max-height: calc(100vh - 48px); margin: 0; overflow: auto; border-radius: 20px; background: #17382e; box-shadow: 0 28px 90px rgb(0 0 0 / 45%); }
.public-lightbox figure > img { display: block; width: 100%; max-height: calc(100vh - 190px); object-fit: contain; }
.public-lightbox-video { position: relative; display: grid; width: 100%; place-items: center; background: #0b1c16; }.public-lightbox-video video { display: block; width: 100%; max-height: calc(100vh - 190px); object-fit: contain; }.public-lightbox-video > .public-media-badge { right: 70px; }
.public-lightbox-close { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: rgb(13 34 27 / 78%); font-size: 30px; line-height: 1; text-decoration: none; }
.public-lightbox figcaption { padding: 16px 20px 18px; color: #e5eee7; }
.public-lightbox figcaption strong { font: 600 24px Georgia, serif; }
.public-lightbox figcaption p { margin: 6px 0 0; color: #c5d7cb; line-height: 1.55; }
.public-lightbox figcaption nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; }
.public-lightbox figcaption nav a { color: #d6e7db; font-weight: 750; text-decoration: none; }
.publication-note { max-width: 830px; color: #667970; font-size: 13px; line-height: 1.65; }
.photo-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-left: auto; }
.photo-card-actions a, .photo-card-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; font-family: inherit; font-size: 13px; font-weight: 650; line-height: 20px; }
.photo-card-actions svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.photo-card-actions .publication-controls form { display: flex; margin: 0; }
.publication-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.publication-controls a, .publication-controls button { color: #587366; text-decoration: none; white-space: nowrap; }
.publication-controls > span { color: #8a7657; font-size: 11px; line-height: 1.35; }
.unpublish-form button { padding: 7px 10px; border: 0; border-radius: 9px; color: #6c5549; background: #efe7e0; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.publication-controls button { padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; }
.photo-card-actions a:hover, .publication-controls button:hover { text-decoration: underline; }
.public-feature-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e1e7df; }.public-feature-controls form { display: flex; align-items: end; gap: 7px; }.public-feature-controls label { display: grid; gap: 4px; color: #667970; font-size: 10px; font-weight: 800; }.public-feature-controls select { min-height: 31px; padding: 5px 7px; border: 1px solid #c8d2ca; border-radius: 8px; background: #fffef9; font: inherit; font-size: 11px; }.public-feature-controls button { min-height: 31px; padding: 6px 8px; border: 0; border-radius: 8px; color: #315846; background: #e2ece3; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }.public-feature-controls form:last-child button { color: #6c5549; background: #efe7e0; }
.publication-panel { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(320px, 1.3fr); gap: 32px; padding: 42px 0; }
.publication-panel h2 { margin: 5px 0 10px; font: 600 30px Georgia, serif; }
.publication-panel > div > p:last-child { margin: 0; color: #667970; line-height: 1.7; }
.publication-panel form { display: grid; gap: 10px; }
.publication-panel label { color: #40594e; font-size: 13px; font-weight: 800; }
.publication-panel select, .publication-panel textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: #fffef9; font: inherit; }.publication-panel select { min-height: 44px; }.publication-panel textarea { line-height: 1.55; resize: vertical; }
.publication-panel form p { margin: 0; color: #7b7060; font-size: 12px; line-height: 1.55; }
.publication-panel form a { align-self: center; color: #35664f; font-weight: 750; }
.publication-panel .primary-button { justify-self: start; }
.unpublish-form { margin-top: 12px; }
.unpublish-form button { justify-self: start; }
.publication-blocked { margin: 0; align-self: center; padding: 16px 18px; border-radius: 14px; color: #705d3d; background: #f1ead7; line-height: 1.6; }

.addition-list, .breakdown-list { display: grid; border-top: 1px solid #d7dfd5; }
.addition-list a, .breakdown-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 17px 4px; border-bottom: 1px solid #d7dfd5; text-decoration: none; }
.addition-list strong, .breakdown-list strong { font: 600 21px Georgia, serif; }
.addition-list span, .breakdown-list span { color: #718078; font-size: 14px; text-align: right; }

.mini-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini-photo-card { min-width: 0; overflow: hidden; border-radius: 18px; background: #fffef9; text-decoration: none; box-shadow: 0 12px 34px rgb(42 74 59 / 9%); }
.mini-photo-card, .photo-frame { position: relative; }.video-badge { position: absolute; top: 12px; right: 12px; padding: 5px 9px; border-radius: 999px; background: rgb(18 43 35 / 88%); color: #fff; font: 700 12px/1 sans-serif; font-style: normal; letter-spacing: .08em; }
.mini-photo-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mini-photo-card > span { display: grid; gap: 5px; padding: 14px 16px 17px; }
.mini-photo-card strong { overflow: hidden; font: 600 19px Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.mini-photo-card small { overflow: hidden; color: #75857c; text-overflow: ellipsis; white-space: nowrap; }

.chip-section { padding: 0 0 55px; }
.chip-section h2 { margin-bottom: 18px; font: 500 30px Georgia, serif; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list a, .chip-list > span { padding: 9px 13px; border: 1px solid #cbd7ce; border-radius: 999px; color: #355e4c; background: rgb(255 255 255 / 64%); font-size: 14px; font-weight: 700; text-decoration: none; }

.member-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member-profile-card { display: flex; align-items: center; gap: 19px; padding: 26px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 67%); text-decoration: none; }
.member-profile-card h2, .member-profile-card h3 { margin-bottom: 6px; font: 600 27px Georgia, serif; }
.member-profile-card p { margin-bottom: 7px; color: #61746a; }
.member-profile-card small { color: #829087; }

.timeline-list { display: grid; }
.timeline-list article { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 20px 4px; border-bottom: 1px solid #d7dfd5; }
.timeline-list time { color: #537061; font-size: 14px; font-weight: 800; }
.timeline-list h3 { margin-bottom: 6px; font: 600 21px Georgia, serif; }
.timeline-list p { margin: 0; color: #718078; font-size: 14px; }
.timeline-list a { color: #376650; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 54px 0 70px; }
.detail-panel { padding: 28px; border-radius: 22px; background: rgb(255 255 255 / 66%); }
.detail-panel h2 { margin-bottom: 20px; font: 500 31px Georgia, serif; }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid #dbe2da; }
.fact-list dt { color: #75857c; font-size: 13px; font-weight: 750; }
.fact-list dd { margin: 0; color: #29483c; line-height: 1.6; }
.fact-list a { color: #2d654e; font-weight: 700; }
.photo-detail-facts .detail-panel { min-width: 0; overflow-wrap: anywhere; }
.photo-detail-facts .fact-list > div { grid-template-columns: 90px minmax(0, 1fr); }
.prose-panel p:last-child { margin: 0; color: #526a60; line-height: 1.85; }

.period-nav { max-height: 116px; justify-content: flex-start; overflow-x: auto; margin: -16px -6px 24px; padding: 6px 6px 16px; scroll-padding-inline: 6px; }
.period-nav a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #cbd7ce; border-radius: 999px; background: rgb(255 255 255 / 60%); }
.period-nav a.active { color: white; border-color: #2d654e; background: #2d654e; }
.report-member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.report-member-grid a { padding: 22px; border: 1px solid #d5ded3; border-radius: 18px; background: rgb(255 255 255 / 62%); text-decoration: none; }
.report-member-grid h3 { margin-bottom: 8px; font: 600 24px Georgia, serif; }
.report-member-grid p { margin-bottom: 7px; color: #536e61; }
.report-member-grid small { color: #829087; }

.global-search { margin-bottom: 26px; padding: 22px; border: 1px solid #d5ded3; border-radius: 20px; background: rgb(255 255 255 / 66%); }
.global-search label { display: block; margin-bottom: 9px; color: #40594e; font-size: 13px; font-weight: 750; }
.global-search > div { display: flex; gap: 10px; }
.global-search input { width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid #bdcac1; border-radius: 12px; background: #fffef9; font: inherit; }
.global-search button { padding: 12px 22px; border: 0; border-radius: 12px; color: white; background: #2d654e; font: inherit; font-weight: 750; cursor: pointer; }
.search-summary { margin-bottom: 18px; color: #61746a; }

.feature-carousel { margin-top: 28px; overflow: hidden; border-radius: 24px; background: #234e3d; color: white; box-shadow: 0 18px 48px rgb(32 65 50 / 16%); }
.feature-photo { display: grid; grid-template-columns: 1.6fr 1fr; margin: 0; overflow: hidden; background: #234e3d; color: white; }
.feature-slide[hidden] { display: none; }
.feature-image-link { display: block; overflow: hidden; touch-action: pan-y; }.feature-image-link:focus-visible { outline: 4px solid #e5f0e7; outline-offset: -4px; }.feature-photo img { display: block; width: 100%; height: 360px; object-fit: cover; transition: transform 220ms ease; }.feature-image-link:hover img { transform: scale(1.015); }.feature-photo div { display: grid; align-content: center; padding: 32px; }.feature-photo h2 { margin-bottom: 14px; font: 500 34px Georgia, serif; }.feature-photo strong { font-size: 20px; }.feature-photo .feature-meta, .feature-photo .feature-reason { margin: 7px 0 0; color: #c9dbd0; line-height: 1.55; }.feature-photo .feature-reason { margin-bottom: 20px; font-size: 14px; }.feature-photo a { color: #e5f0e7; font-weight: 750; }
.feature-carousel-controls { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 13px; padding: 8px 16px; border-top: 1px solid rgb(229 240 231 / 16%); background: #1d4234; }.feature-carousel-controls > button { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid rgb(229 240 231 / 28%); border-radius: 50%; color: white; background: transparent; font: inherit; cursor: pointer; }.feature-carousel-controls > button:hover, .feature-carousel-controls > button:focus-visible { background: rgb(255 255 255 / 12%); }.feature-carousel-controls > [data-feature-toggle] { width: auto; min-width: 50px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 750; }.feature-carousel-dots { display: flex; align-items: center; gap: 7px; padding: 0; }.feature-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgb(229 240 231 / 38%); cursor: pointer; }.feature-carousel-dots button[aria-current="true"] { width: 22px; border-radius: 999px; background: #e5f0e7; }.feature-carousel-controls span { min-width: 38px; color: #c9dbd0; font-size: 12px; font-weight: 750; text-align: center; }
.location-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }.location-card { overflow: hidden; border-radius: 20px; background: #fffef9; text-decoration: none; box-shadow: 0 12px 34px rgb(42 74 59 / 8%); }.location-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }.location-card div { padding: 19px; }.location-card h3 { margin-bottom: 7px; font: 600 24px Georgia, serif; }.location-card p { margin: 0; color: #6d7e75; font-size: 14px; }
.route-list { display: grid; gap: 12px; padding: 0; list-style: none; }.route-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; }.route-list li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: white; background: #2d654e; font-weight: 800; }.route-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid #d5ded3; border-radius: 16px; background: rgb(255 255 255 / 65%); text-decoration: none; }.route-list strong { font: 600 21px Georgia, serif; }.route-list small { color: #718078; }
.correction-link { padding: 22px 0 70px; text-align: right; }.correction-link a { color: #49665a; font-weight: 700; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }.calendar-weekdays span { padding: 10px; color: #63756c; font-size: 12px; font-weight: 800; text-align: center; }.calendar-day { min-height: 145px; padding: 12px; border-top: 1px solid #d5ded3; border-left: 1px solid #d5ded3; background: rgb(255 255 255 / 50%); }.calendar-day:nth-child(7n) { border-right: 1px solid #d5ded3; }.calendar-day strong { display: block; margin-bottom: 9px; color: #537061; }.calendar-day a { display: grid; gap: 3px; margin-bottom: 7px; padding: 7px 8px; border-radius: 9px; background: #e5eee6; color: #264e3c; font-size: 12px; font-weight: 750; text-decoration: none; }.calendar-day a.multi-day { border-left: 4px solid #5e8a72; background: #dce9df; }.calendar-day small { color: #6d7e75; font-weight: 600; }
.growth-chart { display: grid; gap: 24px; }.growth-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }.growth-label time { color: #537061; font-weight: 800; }.growth-chart progress { width: 100%; height: 18px; overflow: hidden; border: 0; border-radius: 999px; background: #dce5dc; accent-color: #2d654e; }.growth-chart p { margin: 8px 0 0; color: #718078; font-size: 14px; }
.admin-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }.admin-links a { padding: 11px 15px; border-radius: 999px; color: white; background: #2d654e; font-weight: 750; text-decoration: none; }.quality-list { display: grid; gap: 12px; margin-bottom: 60px; }.quality-list article { padding: 18px 20px; border-left: 5px solid #91ac9b; border-radius: 12px; background: rgb(255 255 255 / 67%); }.quality-list article.error { border-color: #b85c4b; }.quality-list article.warning { border-color: #d39b42; }.quality-list p { margin: 6px 0 0; color: #61746a; line-height: 1.6; }
.admin-form { display: grid; gap: 17px; max-width: 760px; margin-bottom: 60px; padding: 24px; border: 1px solid #d5ded3; border-radius: 20px; background: rgb(255 255 255 / 66%); }.admin-form label { display: grid; gap: 8px; color: #40594e; font-size: 13px; font-weight: 750; }.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #bdcac1; border-radius: 12px; background: #fffef9; font: inherit; }.admin-form .primary-action { justify-self: start; margin-top: 4px; }.success-note { max-width: 760px; padding: 14px 17px; border-radius: 12px; color: #24513f; background: #deeddf; }
.curation-tabs { margin-bottom: 34px; }.curation-tabs a[aria-current="page"] { color: white; border-color: #2d654e; background: #2d654e; }
.curation-scope-panel, .curation-current, .curation-candidates { margin-bottom: 34px; padding: 24px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 66%); }
.curation-scope-form { display: grid; grid-template-columns: minmax(180px, .75fr) minmax(280px, 1.25fr) auto; align-items: end; gap: 14px; }.curation-scope-form label, .curation-candidate-search, .curation-slot-picker { display: grid; gap: 8px; color: #40594e; font-size: 13px; font-weight: 750; }.curation-scope-form input, .curation-scope-form select, .curation-candidate-search input, .curation-slot-picker select { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: #fffef9; font: inherit; }.curation-scope-form .secondary-action { min-height: 47px; border: 0; cursor: pointer; }
.curation-current-card { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr); overflow: hidden; border: 1px solid #d5ded3; border-radius: 18px; background: #fffef9; }.curation-current-card > a { min-height: 260px; background: #e8ede7; }.curation-current-card img { display: block; width: 100%; height: 100%; max-height: 390px; object-fit: cover; }.curation-current-card > div { align-self: center; padding: 26px; }.curation-current-card h3 { margin: 12px 0 10px; font: 600 24px Georgia, serif; }.curation-current-card p { color: #61746a; line-height: 1.65; }.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: #2b5b46; background: #dceadf; font-size: 11px; font-weight: 800; }.status-pill.manual { color: #745324; background: #f2e6c8; }.muted-copy { font-size: 13px; }
.curation-candidate-search { max-width: 560px; margin: 20px 0; }.curation-editor { display: grid; gap: 18px; }.curation-slot-picker { max-width: 240px; }.curation-candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.curation-candidate-card { position: relative; overflow: hidden; border: 2px solid transparent; border-radius: 17px; background: #fffef9; box-shadow: 0 8px 26px rgb(42 74 59 / 8%); transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }.curation-candidate-card[hidden] { display: none; }.curation-candidate-card:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgb(42 74 59 / 13%); }.curation-candidate-card.is-current { border-color: #93ad9d; }.curation-candidate-card.is-selected { border-color: #2d654e; box-shadow: 0 0 0 3px rgb(45 101 78 / 13%); }.curation-candidate-card > label { display: grid; cursor: pointer; }.curation-candidate-card input[type="radio"] { position: absolute; z-index: 2; top: 12px; right: 12px; width: 23px; height: 23px; margin: 0; accent-color: #2d654e; }.curation-candidate-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8ede7; }.curation-candidate-copy { display: grid; gap: 7px; min-height: 122px; padding: 15px 15px 12px; }.curation-candidate-badges { display: flex; min-height: 23px; align-items: center; flex-wrap: wrap; gap: 7px; padding-right: 26px; }.curation-candidate-badges b, .curation-candidate-badges em { padding: 4px 7px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 800; }.curation-candidate-badges b { color: #24513f; background: #dceadf; }.curation-candidate-badges em { color: #4a6558; background: #edf1eb; }.curation-candidate-badges em.excluded { color: #8a493f; background: #f5e2dc; }.curation-candidate-copy > strong { color: #29483c; font-size: 14px; line-height: 1.45; }.curation-candidate-copy > small { color: #718078; font-size: 11px; line-height: 1.55; }.curation-candidate-card > a { display: block; padding: 0 15px 15px; color: #2d654e; font-size: 12px; font-weight: 750; }.curation-save-bar { position: sticky; z-index: 10; bottom: 14px; display: flex; justify-content: flex-end; padding: 12px; border: 1px solid rgb(203 215 206 / 86%); border-radius: 15px; background: rgb(255 254 249 / 92%); box-shadow: 0 10px 30px rgb(37 70 54 / 14%); backdrop-filter: blur(12px); }
.feature-explanation { padding: 0 0 58px; }.feature-method, .archive-debt-note { max-width: 980px; color: #61746a; line-height: 1.75; }.feature-ranking-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }.feature-ranking-card { overflow: hidden; border: 1px solid #d5ded3; border-radius: 18px; background: rgb(255 255 255 / 70%); }.feature-ranking-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }.feature-ranking-card > div { padding: 17px 18px 20px; }.feature-ranking-card small { color: #718078; font-size: 12px; font-weight: 750; }.feature-ranking-card h3 { margin: 6px 0 8px; font: 600 20px Georgia, serif; }.feature-ranking-card p { margin: 0 0 12px; color: #61746a; line-height: 1.55; }.feature-ranking-card ul { margin: 9px 0 0; padding-left: 18px; color: #718078; font-size: 12px; line-height: 1.65; }.feature-candidates { margin-top: 22px; }.feature-candidates > summary { width: fit-content; color: #2d654e; font-weight: 800; cursor: pointer; }.feature-candidates .quality-list { margin: 18px 0 0; }.feature-candidates article { position: relative; padding-right: 170px; }.feature-candidates article > small { display: block; margin-top: 7px; color: #7b8981; }.feature-candidates article > a { position: absolute; top: 18px; right: 20px; color: #2d654e; font-size: 13px; font-weight: 750; }.provenance-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }.provenance-summary a { display: grid; gap: 4px; padding: 18px; border: 1px solid #d5ded3; border-radius: 15px; background: rgb(255 255 255 / 65%); text-decoration: none; }.provenance-summary strong { color: #29483c; font: 600 28px Georgia, serif; }.provenance-summary span { color: #718078; font-size: 13px; }.archive-debt-actions { margin: 24px 0 0; }
.feature-ranking-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 15px; }.feature-ranking-actions .secondary-action { padding: 8px 11px; font-size: 12px; }.feature-ranking-actions .inline-admin-actions { margin-top: 0; }.curation-library-search { display: flex; max-width: 760px; align-items: end; flex-wrap: wrap; gap: 10px; margin: 20px 0; }.curation-library-search .curation-candidate-search { min-width: min(100%, 420px); flex: 1; margin: 0; }.curation-library-search .secondary-action { min-height: 47px; border: 0; cursor: pointer; }.curation-library-search > a { align-self: center; color: #49665a; font-size: 13px; font-weight: 750; }.curation-pagination { padding: 14px 0 0; }
.inline-admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 12px; }.inline-admin-actions button { padding: 8px 11px; border: 1px solid #bdcac1; border-radius: 9px; color: #2d654e; background: #fffef9; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }.inline-admin-actions .primary-action { margin-top: 0; color: #fff; border-color: #2d654e; background: #2d654e; box-shadow: none; }
.pending-plan-section { display: grid; gap: 9px; margin: -10px 0 28px; padding: 20px; border: 1px solid #d8cda9; border-radius: 18px; background: #f6f0dc; }.pending-plan-section h2 { margin: 0 0 4px; font: 600 23px Georgia, serif; }.pending-plan-section article { display: flex; align-items: center; gap: 12px; border-top: 1px solid #ded3b2; }.pending-plan-section article > a { display: flex; flex: 1; justify-content: space-between; gap: 16px; padding: 11px 0; text-decoration: none; }.pending-plan-section span { color: #786632; font-size: 13px; font-weight: 750; }.pending-plan-section form { flex: 0 0 auto; }.success-notice { margin: -10px 0 28px; padding: 13px 17px; border-radius: 12px; color: #285844; background: #e1ede3; font-weight: 750; }.quiet-danger-button, .danger-button { border: 0; border-radius: 10px; font: inherit; font-weight: 800; cursor: pointer; }.quiet-danger-button { padding: 8px 10px; color: #8a493f; background: transparent; }.danger-button { padding: 11px 15px; color: white; background: #9a5045; }.request-delete-form { margin-top: 22px; }.location-admin-section { margin-top: 34px; padding: 22px; border: 1px solid #dcc9c4; border-radius: 18px; background: #fbf5ef; }.location-admin-section h2 { margin: 0 0 9px; font: 600 22px Georgia, serif; }.location-admin-section p { color: #6d6f69; line-height: 1.6; }
.plan-image-upload-panel { gap: 14px; }.existing-plan-assets { padding: 14px 16px; border-radius: 12px; background: #f2f5ee; }.existing-plan-assets p { margin: 0 0 8px; color: #52645c; }.existing-plan-assets ol { margin: 0; padding-left: 24px; }.existing-plan-assets li + li { margin-top: 5px; }.plan-image-file-field { display: grid; gap: 8px; font-weight: 800; }.plan-image-file-field input { padding: 12px; border: 1px dashed #8ca89a; border-radius: 12px; background: #fffdf7; font: inherit; font-weight: 500; }
.season-unavailable { min-height: 132px; padding: 24px; border-radius: 14px; color: #5c6f65; background: #eef2eb; }.season-unavailable strong { color: #29483c; }.season-unavailable p { margin: 9px 0 0; line-height: 1.65; }
.heading-action, .primary-link { display: inline-flex; margin-top: 22px; padding: 11px 16px; border-radius: 999px; color: white; background: #2d654e; font-weight: 800; text-decoration: none; }
.location-trip-list { display: grid; gap: 12px; }.location-trip-list a { display: grid; grid-template-columns: minmax(150px, .55fr) 1fr auto; align-items: center; gap: 24px; padding: 20px 22px; border: 1px solid #d5ded3; border-radius: 17px; background: rgb(255 255 255 / 65%); text-decoration: none; }.location-trip-list time { color: #244f3e; font: 600 28px Georgia, serif; }.location-trip-list div { display: grid; gap: 4px; }.location-trip-list strong { color: #29483c; font-size: 15px; }.location-trip-list span { color: #718078; font-size: 13px; }.location-trip-list b { color: #769081; font-size: 22px; }
.plan-form { display: grid; gap: 24px; padding-bottom: 80px; }.form-panel { padding: 26px; border: 1px solid #d5ded3; border-radius: 22px; background: rgb(255 255 255 / 66%); }.plan-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.plan-form label, .stacked-field { display: grid; gap: 8px; color: #40594e; font-size: 13px; font-weight: 750; }.plan-form input:not([type="checkbox"]), .plan-form select, .plan-form textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid #bdcac1; border-radius: 12px; color: #18342c; background: #fffef9; font: inherit; }.wide-field { grid-column: 1 / -1; }.observer-picker { display: flex; flex-wrap: wrap; gap: 11px 18px; margin: 20px 0; padding: 17px; border: 1px solid #d5ded3; border-radius: 14px; }.observer-picker legend { padding: 0 7px; color: #40594e; font-size: 13px; font-weight: 800; }.observer-picker label, .checkbox-field { display: flex; align-items: center; gap: 8px; }.plan-form-stops { display: grid; gap: 18px; }.plan-form-stop { padding: 20px; border: 1px solid #cbd7ce; border-radius: 18px; background: #fbfcf7; }.plan-form-stop > header { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 13px; margin-bottom: 18px; }.plan-form-stop > header > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: #2d654e; font-weight: 800; }.plan-form-stop h3 { margin: 0; font: 600 22px Georgia, serif; }.plan-form-stop header p { margin: 3px 0 0; color: #718078; font-size: 12px; }.new-location-fields { margin-top: 20px; padding-top: 20px; border-top: 1px dashed #c7d2c8; }.new-location-fields[hidden], [data-existing-location][hidden] { display: none; }.new-location-fields h4 { margin: 0 0 16px; color: #29483c; font-size: 15px; }.field-help { margin: 14px 0 0; color: #718078; font-size: 12px; line-height: 1.6; }.primary-button, .secondary-button, .quiet-button { border: 0; border-radius: 11px; font: inherit; font-weight: 800; cursor: pointer; }.primary-button { padding: 13px 20px; color: white; background: #2d654e; }.secondary-button { padding: 10px 14px; color: #2d654e; background: #e2ece3; }.quiet-button { padding: 8px 10px; color: #65776d; background: transparent; }.quiet-button:disabled { opacity: .35; cursor: default; }.form-submit-row { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }.form-submit-row > a { color: #5d7166; font-weight: 700; }.request-status { max-width: 760px; margin: 25px auto 100px; padding: 34px; border: 1px solid #d5ded3; border-radius: 24px; background: rgb(255 255 255 / 72%); text-align: center; }.request-status h2 { margin-bottom: 11px; font: 600 30px Georgia, serif; }.request-status p { color: #63756c; line-height: 1.7; }.request-status.failed { border-color: #d7a69f; }.status-spinner { width: 34px; height: 34px; margin: 0 auto 18px; border: 4px solid #d5e1d7; border-top-color: #2d654e; border-radius: 50%; }

.field-hint { color: #87958d; font-size: 11px; font-weight: 600; }
.hotspot-picker { position: relative; }.hotspot-picker > label { gap: 8px; }.hotspot-combobox { position: relative; display: block; }.plan-form .hotspot-combobox input { padding-right: 48px; }.hotspot-combobox > button { position: absolute; top: 5px; right: 5px; width: 36px; height: 36px; border: 0; border-radius: 9px; color: #345848; background: #e7eee7; font-size: 20px; cursor: pointer; }.hotspot-combobox > button:disabled { color: #94a098; cursor: default; }.plan-form [data-hotspot-input]:disabled { color: #86948c; background: #eef2ed; }.hotspot-options { position: absolute; z-index: 35; top: calc(100% + 6px); right: 0; left: 0; display: grid; max-height: 320px; overflow-y: auto; padding: 7px; border: 1px solid #bdcac1; border-radius: 13px; background: #fffef9; box-shadow: 0 16px 38px rgb(31 61 47 / 18%); }.hotspot-options[hidden] { display: none; }.hotspot-option { display: grid; gap: 3px; width: 100%; padding: 10px 11px; border: 0; border-radius: 9px; color: #29483c; background: transparent; text-align: left; cursor: pointer; }.hotspot-option:hover, .hotspot-option:focus, .hotspot-option[aria-selected="true"] { outline: none; background: #e5eee6; }.hotspot-option.region-only { margin-bottom: 4px; border-bottom: 1px solid #d8e1d8; border-radius: 9px 9px 3px 3px; }.hotspot-option strong { font-size: 13px; }.hotspot-option small, .hotspot-empty { color: #75857c; font-size: 11px; }.hotspot-empty { padding: 14px 11px; line-height: 1.55; }

/* Media cards stay full-bleed; only portrait sources opt into non-cropping previews. */
img.media-preview { object-fit: cover; background: #17382e; }
img.media-preview.media-preview--portrait, .original-photo-frame img.media-preview { object-fit: contain; transform: none; }
.photo-frame:hover img.media-preview--portrait, .public-photo-frame:hover img.media-preview--portrait, .feature-image-link:hover img.media-preview--portrait { transform: none; }

@media (max-width: 780px) {
  .feature-ranking-grid, .curation-candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.provenance-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }.curation-scope-form { grid-template-columns: 1fr 1fr; }.curation-scope-form .secondary-action { grid-column: 1 / -1; justify-self: start; }.curation-current-card { grid-template-columns: 1fr; }.curation-current-card > a { min-height: 0; }.curation-current-card img { height: auto; aspect-ratio: 16 / 10; }
  body.has-mobile-nav { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .site-header { position: sticky; top: 0; z-index: 40; width: 100%; min-height: 64px; padding: 10px 14px; border-bottom: 1px solid rgb(203 215 206 / 80%); background: rgb(243 245 237 / 94%); backdrop-filter: blur(14px); }
  .brand span:last-child { display: inline; }.desktop-nav { display: none; }.mobile-header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }.mobile-header-search { display: grid; width: 42px; height: 42px; border-radius: 50%; color: #315746; text-decoration: none; }.mobile-header-search:hover, .mobile-header-search.active, .mobile-header-account.active > summary { background: #e1e9e1; }.mobile-header-account { display: block; }.mobile-header-account > summary { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; color: #315746; }.mobile-header-account > summary > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
  .mobile-scroll-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: flex; width: 100%; justify-content: space-between; gap: 2px; height: calc(70px + env(safe-area-inset-bottom)); padding: 5px 8px env(safe-area-inset-bottom); border-top: 1px solid #cbd7ce; background: rgb(255 254 249 / 97%); box-shadow: 0 -8px 28px rgb(35 72 55 / 10%); backdrop-filter: blur(18px); }.mobile-scroll-nav a { display: flex; min-width: 0; max-width: 72px; height: 58px; align-items: center; justify-content: center; flex: 1 1 0; flex-direction: column; gap: 3px; border-radius: 12px; color: #718178; font-size: 11px; font-weight: 750; line-height: 1; text-decoration: none; white-space: nowrap; }.mobile-scroll-nav a.active { color: #28543f; background: #e5ece4; }.mobile-scroll-nav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
  .mobile-account-actions { display: flex; justify-content: flex-end; margin-top: 28px; padding-top: 20px; border-top: 1px solid #d5ded3; }.mobile-account-actions .secondary-button { min-height: 44px; }
  .section-tabs { max-width: calc(100% + 12px); overflow-x: auto; margin: -13px -6px 25px; padding: 5px 6px 12px; scroll-padding-inline: 6px; }.section-tabs a { flex: 0 0 auto; }
  main, footer { width: min(100% - 28px, 1180px); }.hero { grid-template-columns: 1fr; min-height: auto; padding-top: 45px; }.hero-art { min-height: 340px; order: -1; }.hero h1 { font-size: clamp(50px, 15vw, 74px); }
  .stat-grid, .stat-grid-four, .member-grid, .report-member-grid { grid-template-columns: repeat(2, 1fr); }.gallery-filters { grid-template-columns: 1fr 1fr; }.species-controls { grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); }.species-controls .filter-actions { grid-column: 1 / -1; }.filter-actions { align-self: end; }.gallery-grid, .species-grid, .mini-photo-grid, .location-grid { grid-template-columns: repeat(2, 1fr); }.trip-grid, .trip-grid.compact-grid, .season-chart-grid { grid-template-columns: 1fr 1fr; }.original-actions { align-items: flex-start; flex-direction: column; gap: 14px; }.section-title { align-items: start; flex-direction: column; }.detail-grid { grid-template-columns: 1fr; }.feature-photo { grid-template-columns: 1fr; }.feature-photo img { height: 300px; }.feature-carousel-controls > [data-feature-previous], .feature-carousel-controls > [data-feature-next] { display: none; }.location-trip-list a { grid-template-columns: 1fr auto; gap: 8px 16px; }.location-trip-list time { grid-column: 1 / -1; }
  .plan-asset-gallery { margin-right: -14px; margin-left: -14px; border-right: 0; border-left: 0; border-radius: 0; }.plan-asset-heading { align-items: start; flex-direction: column; gap: 5px; padding: 20px 14px 15px; }.plan-asset-heading h2 { font-size: 25px; }.plan-asset-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }.plan-asset-track::-webkit-scrollbar { display: none; }.plan-asset-slide, .plan-asset-slide.is-active { display: grid; min-width: 100%; flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }.plan-asset-slide > a { min-height: 220px; }.plan-asset-slide img { max-height: min(68vh, 780px); }.plan-asset-controls > [data-plan-asset-previous], .plan-asset-controls > [data-plan-asset-next] { display: none; }
  .public-gallery-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }.public-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.public-gallery-heading { align-items: start; flex-direction: column; padding-top: 52px; }.publication-panel { grid-template-columns: 1fr; }.home-public-grid .public-photo-card:nth-child(n+5) { display: none; }
}

@media (max-width: 520px) {
  .feature-ranking-grid, .provenance-summary, .curation-candidate-grid, .curation-scope-form { grid-template-columns: 1fr; }.feature-candidates article { padding-right: 20px; }.feature-candidates article > a { position: static; display: inline-block; margin-top: 10px; }.curation-scope-form .secondary-action { grid-column: auto; width: 100%; }.curation-scope-panel, .curation-current, .curation-candidates { margin-right: -6px; margin-left: -6px; padding: 17px; }.curation-current-card > div { padding: 19px; }.curation-save-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }.curation-save-bar .primary-action { width: 100%; }
  .gallery-filters, .species-controls, .plan-form-grid { grid-template-columns: 1fr; }.species-controls .filter-actions { grid-column: auto; }.filter-actions { justify-content: space-between; }.gallery-grid, .species-grid, .mini-photo-grid, .location-grid, .trip-grid, .trip-grid.compact-grid, .member-profile-grid, .report-member-grid, .stat-grid, .stat-grid-four, .season-chart-grid, .plan-grid { grid-template-columns: 1fr; }.privacy-note { grid-template-columns: 36px minmax(0, 1fr); align-items: start; gap: 14px; padding: 22px 20px; }.page-heading { padding-top: 45px; }.timeline-list article { grid-template-columns: 1fr; gap: 8px; }.addition-list a, .breakdown-list a { align-items: flex-start; flex-direction: column; gap: 5px; }.addition-list span, .breakdown-list span { text-align: left; }.global-search > div { flex-direction: column; }.calendar-weekdays { display: none; }.calendar-grid { grid-template-columns: 1fr; }.calendar-day.empty { display: none; }.calendar-day { min-height: auto; border-right: 1px solid #d5ded3; }.route-list a { align-items: flex-start; flex-direction: column; gap: 6px; }.season-chart { padding: 17px 12px; }.season-chart-heading { align-items: flex-start; flex-direction: column; gap: 5px; }.season-bars { gap: 2px; }.season-month { grid-template-rows: 32px 90px 20px; }.season-value { font-size: 9px; line-height: 1; }.target-data-summary, .target-method-grid { grid-template-columns: 1fr; }.target-data-summary > span { justify-self: start; }.target-list > div { grid-template-columns: 1fr; gap: 9px; }.media-sequence-nav { grid-template-columns: 1fr; }.media-sequence-nav .disabled { display: none; }.form-panel { padding: 18px; }.plan-form-stop { padding: 16px; }.plan-form-stop > header { grid-template-columns: 38px 1fr; }.plan-form-stop > header .quiet-button { grid-column: 2; justify-self: start; }.wide-field { grid-column: auto; }
  .public-nav { gap: 10px; font-size: 13px; }.hero-actions { display: grid; width: 100%; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; }.hero-actions .primary-action, .hero-actions .secondary-action { width: 100%; min-width: 0; min-height: 48px; padding: 12px 10px; font-size: 14px; line-height: 1.25; text-align: center; white-space: nowrap; }.public-gallery-filter-fields { grid-template-columns: 1fr; }.public-gallery-filter-actions { align-items: flex-start; flex-wrap: wrap; }.public-gallery-filter-actions span { width: 100%; margin-left: 0; }.public-gallery-grid { grid-template-columns: 1fr; }.public-lightbox { padding: 0; }.public-lightbox figure { width: 100%; max-height: 100vh; border-radius: 0; }.public-lightbox figure > img, .public-lightbox-video video { max-height: calc(100vh - 180px); }.home-public-grid .public-photo-card:nth-child(n+4) { display: none; }
}

.page-heading > .back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; color: #49665a; font-size: 14px; font-weight: 700; text-decoration: none; }
.page-heading > .back-link:hover { text-decoration: underline; }

.media-note-panel { min-width: 0; }
.media-note-panel > p { line-height: 1.85; }
.media-processing-summary { color: #526a60; font-size: 14px; }
.media-note-details { margin-top: 18px; border-top: 1px solid #dbe2da; padding-top: 14px; }
.media-note-details summary { cursor: pointer; color: #526a60; font-size: 14px; line-height: 1.6; }
.media-note-details dd, .media-note-original { overflow-wrap: anywhere; }
.media-note-details .media-note-original { font-size: 13px; white-space: pre-wrap; }

/* The sidebar starts alongside navigation; mobile facts have their own tab. */
.section-tabs.species-tabs { grid-column: 1; margin: 0; min-width: 0; }
.species-tabs .species-facts-tab { display: none; }
.species-tabs .desktop-current { color: white; border-color: #2d654e; background: #2d654e; }
/* Keep a tall spanning sidebar from distributing spare height into the tab row. */
.species-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(268px, 300px); grid-template-rows: auto 1fr; gap: 24px 34px; margin-top: 26px; }
.species-main { grid-column: 1; min-width: 0; }
.species-main > .section-block:first-child { padding-top: 0; border-top: 0; }
.species-main > .section-block:first-child .guide-flat:first-child,
.species-main > .section-block:first-child .guide-flat:first-child > h3 { margin-top: 0; }
.species-main > .feature-note:first-child { margin-top: 0; }
.species-aside { grid-column: 2; grid-row: 1 / 3; display: grid; gap: 16px; overflow-anchor: none; min-width: 0; }
.species-facts-card { min-width: 0; padding: 20px; border: 1px solid #d5ded3; border-radius: 18px; background: #fffef9; }
.species-facts-card h2 { margin: 0 0 14px; font: 600 17px Georgia, serif; }
.species-fact-line { margin: 12px 0 0; color: #2f4a3e; font-size: 14px; line-height: 1.6; }
.species-fact-note { margin: 10px 0 0; color: #61746a; font-size: 13px; line-height: 1.65; }
.species-fact-credit { margin: 10px 0 0; color: #728579; font-size: 12px; line-height: 1.6; }
.species-fact-credit a { color: #48685a; }
.species-range-map { display: block; width: 100%; height: auto; border: 1px solid #e0e6de; border-radius: 12px; background: #fff; }
.species-fact-table { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 13px; }
.species-fact-table dt { color: #728579; white-space: nowrap; }
.species-fact-table dd { margin: 0; color: #2f4a3e; overflow-wrap: anywhere; }

.iucn-badge { display: grid; gap: 4px; }
.iucn-groups { display: grid; grid-template-columns: 2fr 3fr 2fr; color: #728579; font-size: 11px; text-align: center; }
.iucn-group-threatened { border-bottom: 1px solid #c8d4ca; padding-bottom: 3px; }
.iucn-ladder { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; }
.iucn-ladder li { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #c1cfc4; border-radius: 50%; color: #5e776a; font-size: 11px; font-weight: 800; }
.iucn-ladder li.current { border-color: #14595a; background: #14595a; color: #eaf6f2; }

@media (max-width: 980px) {
  .species-layout { grid-template-columns: 1fr; gap: 0; }
  .species-aside { display: none; grid-column: 1; grid-row: auto; position: static; }
  .species-tabs .species-facts-tab { display: inline-flex; }
  .species-tabs .desktop-current { color: inherit; border-color: #c8d4ca; background: rgb(255 255 255 / 55%); }
  .species-show-facts .species-main { display: none; }
  .species-show-facts .species-aside { display: grid; }
  .section-tabs.species-tabs { margin: 0 0 24px; max-width: 100%; gap: 6px; padding: 0; overflow: visible; flex-wrap: wrap; }
  .species-tabs a { padding: 9px 10px; font-size: 13px; white-space: nowrap; }
  .species-main > .section-block:last-child { padding-bottom: 30px; }
}

.species-map-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; color: #40594e; font-size: 13px; line-height: 1.5; }
.species-map-legend li { display: flex; align-items: center; gap: 7px; }
.species-map-swatch { flex: 0 0 14px; width: 14px; height: 14px; border: 1px solid rgb(0 0 0 / 25%); border-radius: 2px; }

/* Compact records without changing spacing on other archive pages. */
.species-records > .feature-note:first-child { padding: 18px 22px; }
.species-records .feature-note h2 { font-size: 23px; }
.species-records .eyebrow { margin: 0 0 8px; font-size: 11px; }
.species-records > .section-block { padding: 26px 0; }
.species-records > .feature-note + .section-block { border-top: 0; }
.species-records .section-title { margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.species-records .section-title h2 { font-size: 26px; }
.species-records .timeline-list article { padding: 14px 0; gap: 18px; }
.species-records .timeline-list article:last-child { border-bottom: 0; }
.species-records .timeline-list h3 { margin-top: 0; font-size: 19px; }
.species-records .chart-note { margin: 0 0 18px; font-size: 13px; }
.species-records .season-chart-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
.species-records .season-chart-heading h3 { font-size: 21px; }
.species-records .season-chart-heading span { text-align: left; }
@media (max-width: 600px) {
  .species-records > .feature-note:first-child { padding: 16px; }
  .species-records > .section-block { padding: 22px 0; }
  .species-records .timeline-list article { gap: 6px; }
  .species-records .section-title h2 { font-size: 24px; }
}

/* Species catalog: no cover elements or image requests in list mode. */
.catalog-controls { padding: 22px; margin-bottom: 24px; border: 1px solid #d5ded3; border-radius: 20px; background: #f8faf6; }
.catalog-primary, .catalog-more, .catalog-display, .catalog-actions, .catalog-tags, .catalog-fold-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.catalog-primary { align-items: end; }
.catalog-name { flex: 1 1 260px; }
.catalog-controls label { color: #40594e; font-size: 13px; font-weight: 650; }
.catalog-name, .catalog-display > label { display: grid; gap: 6px; }
.catalog-controls input[type=search], .catalog-controls select { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; padding: 10px 12px; border: 1px solid #bdcac1; border-radius: 10px; background: #fffef9; color: #18342c; font: inherit; }
.catalog-more { margin-top: 12px; }
.catalog-picker { position: relative; min-width: 140px; }
.catalog-picker > summary, .catalog-more-toggle { padding: 12px 14px; border: 1px solid #bdcac1; border-radius: 10px; background: #fffef9; color: #40594e; font-size: 14px; cursor: pointer; }
.catalog-picker[open] { z-index: 20; }
.catalog-picker > summary:hover { border-color: #477a68; }
.catalog-menu { position: absolute; z-index: 21; top: calc(100% + 6px); left: 0; width: 340px; max-width: calc(100vw - 76px); max-height: 360px; overflow-y: auto; padding: 12px; border: 1px solid #bdcac1; border-radius: 12px; background: #fffef9; box-shadow: 0 12px 32px #18342c26; }
.catalog-menu label { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px; overflow-wrap: anywhere; cursor: pointer; }
.catalog-menu [hidden], .catalog-controls [hidden], .catalog-fold-actions[hidden] { display: none; }
.catalog-menu input[type=checkbox], .catalog-view input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #2d654e; }
.catalog-menu small { margin-left: auto; white-space: nowrap; color: #74847b; }
.catalog-menu > input { margin-bottom: 8px; }
.catalog-order { position: relative; padding: 0; border-bottom: 1px solid #edf0e9; }
.catalog-taxonomy .catalog-menu { padding: 6px 10px; }
.catalog-order details > summary { box-sizing: border-box; width: 28px; min-height: 36px; padding: 8px 2px; cursor: pointer; font-size: 14px; }
.catalog-order .catalog-order-all { position: absolute; top: 0; left: 28px; right: 0; }
.catalog-order label { box-sizing: border-box; min-height: 36px; padding: 4px 6px; gap: 8px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.catalog-order details > label { padding-left: 44px; }
.catalog-taxon-name { flex: 1; min-width: 0; font-weight: normal; }
.catalog-order-all .catalog-taxon-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-taxon-name > span { font-size: 12px; color: #74847b; }
.catalog-order label small { flex: none; white-space: nowrap; }
@media (max-width: 700px) {
  .catalog-order label, .catalog-order details > summary { min-height: 44px; }
  .catalog-order details > summary { padding-top: 12px; }
}

.catalog-actions { margin-top: 16px; }
.catalog-actions a, .catalog-tags a { color: #2d654e; font-size: 13px; }
.catalog-tags:not(:empty) { margin-top: 16px; }
.catalog-tags a { padding: 6px 10px; background: #e8efe4; border-radius: 10px; text-decoration: none; overflow-wrap: anywhere; }
.catalog-tags span { margin-left: 6px; }
.catalog-display { align-items: end; margin-top: 20px; padding-top: 18px; border-top: 1px solid #d5ded3; }
.catalog-view { display: flex; gap: 8px; border: 0; padding: 0; margin: 0 auto 0 0; }
.catalog-view legend { font-size: 13px; color: #40594e; margin-bottom: 6px; }
.catalog-view label { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid #bdcac1; border-radius: 10px; cursor: pointer; }
.catalog-view label:has(input:checked) { color: #fff; background: #2d654e; border-color: #2d654e; }
.catalog-fold-actions { justify-content: end; margin-bottom: 12px; }
.catalog-fold-actions button { border: 0; background: transparent; color: #2d654e; padding: 8px; cursor: pointer; }
.catalog-group { margin-bottom: 22px; }
.catalog-group > summary { padding: 16px 12px; margin-bottom: 12px; border-bottom: 1px solid #bdcac1; font-size: 18px; font-weight: 750; color: #244c3a; cursor: pointer; overflow-wrap: anywhere; }
.catalog-group-order { display: inline-block; margin-inline-start: 12px; font-size: 14px; font-weight: 400; color: #64786b; white-space: nowrap; vertical-align: baseline; }
.catalog-list { border: 1px solid #d5ded3; border-radius: 14px; overflow: hidden; background: #fffef9; }
.catalog-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(150px, 1fr) minmax(180px, 1.3fr); grid-template-areas: 'identity classification first' 'identity conservation counts'; gap: 8px 20px; padding: 18px 22px; text-decoration: none; color: #18342c; border-bottom: 1px solid #e3e9df; align-items: center; overflow-wrap: anywhere; }
.catalog-row:last-child { border-bottom: 0; }
.catalog-row:hover { background: #f0f5ec; }
.catalog-row:focus-visible { outline: 3px solid #477a68; outline-offset: -3px; }
.catalog-identity { grid-area: identity; min-width: 0; }
.catalog-identity h2 { margin: 0 0 4px; font-size: 18px; }
.catalog-identity .latin { font-size: 12px; color: #74847b; }
.catalog-classification { grid-area: classification; font-size: 12px; color: #687e70; }
.catalog-conservation { grid-area: conservation; justify-self: start; border-radius: 6px; padding: 3px 7px; font-size: 12px; background: #e8efe4; }
.catalog-first { grid-area: first; font-size: 13px; }
.catalog-counts { grid-area: counts; color: #74847b; font-size: 12px; }
@media (min-width: 701px) {
  .catalog-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
  .catalog-identity { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
  .catalog-identity h2 { margin: 0; }
  .catalog-controls { display: flex; flex-wrap: wrap; gap: 12px; }
  .catalog-primary, .catalog-more { display: contents; }
  .catalog-name, .catalog-actions, .catalog-tags, .catalog-display { flex-basis: 100%; }
  .catalog-controls .catalog-more-toggle { display: none; }
}
@media (max-width: 700px) {
  .catalog-controls { padding: 14px; }
  .catalog-name { flex-basis: 100%; }
  .catalog-primary > .catalog-picker, .catalog-more-toggle { flex: 1; }
  .catalog-enhanced .catalog-more:not(.is-expanded) { display: none; }
  .catalog-more > .catalog-picker { flex: 1 1 100%; }
  .catalog-menu { position: static; width: auto; max-width: none; margin-top: 6px; box-shadow: none; }
  .catalog-primary { align-items: start; }
  .catalog-taxonomy[open] { flex-basis: 100%; }
  .catalog-display { gap: 12px; }
  .catalog-view { flex-basis: 100%; }
  .catalog-display > label { flex: 1 1 130px; min-width: 0; }
  .catalog-row { padding: 16px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'identity conservation' 'classification classification' 'first first' 'counts counts'; gap: 8px; }
  .catalog-conservation { max-width: 120px; justify-self: end; align-self: start; }
}

@media (min-width: 701px) { .catalog-align-right > .catalog-menu { left: auto; right: 0; } }

/* Same-page updates keep controls mounted and report progress locally. */
.catalog-enhanced [data-auto-filter-submit], .auto-filter-enhanced [data-auto-filter-submit] { display: none; }
[data-partial-page] { position: relative; }
.partial-status { position: fixed; right: 20px; bottom: 88px; z-index: 40; width: fit-content; max-width: calc(100vw - 40px); margin: 0; padding: 10px 14px; border: 1px solid #bdcac1; border-radius: 12px; background: #fffef9; color: #244c3a; box-shadow: 0 4px 16px #18342c18; font-size: 14px; }
.partial-status[hidden] { display: none; }
.partial-status button, .partial-status a { margin-left: 12px; color: #2d654e; background: transparent; border: 0; text-decoration: underline; cursor: pointer; font: inherit; }
.partial-loading [data-partial-results] { opacity: .65; }
[data-partial-results] { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: no-preference) { [data-partial-results] { transition: opacity .12s; } }

/* Species introductions: compact labelled facts, readable on both columns and phones. */
.species-intro-group { margin-block: 1.6rem; }
.species-intro-traits { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 1rem; }
.species-intro-traits dt, .species-intro-traits dd { margin: 0; padding-block: .65rem; border-bottom: 1px solid #d3ded3; }
.species-intro-traits dt { font-weight: 600; }
.species-intro-traits dd p { margin: 0; }
.species-intro-traits dd p + p { margin-top: .65rem; }
.species-intro-scope { display: block; font-size: .85em; color: #62776b; margin-bottom: .15rem; }
@media (max-width: 600px) {
  .species-intro-traits { grid-template-columns: 4em minmax(0, 1fr); gap: 0 .75rem; }
}

/* Mallard reading guide: native radio controls also work after partial navigation. */
.mallard-guide { margin-top: 1.6rem; }
.guide-lead { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.guide-lead h3 { margin: 0; font-size: 1.25rem; }
.guide-lead > span { font-size: .9rem; color: #62776b; }
.guide-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.guide-highlights article { padding: 1.15rem; border: 1px solid #d3ded3; background: #fafbf6; border-radius: 16px; }
.guide-number { font: italic 1.65rem Georgia, serif; color: #6b8b75; }
.guide-highlights h4 { margin: .55rem 0; font-size: 1rem; }
.guide-highlights p { margin: .5rem 0; line-height: 1.65; font-size: .94rem; }
.guide-sources { margin-top: .9rem; font-size: .8rem; color: #62776b; }
.guide-sources summary { cursor: pointer; }
.guide-sources p { font-size: .8rem; }
.guide-states, .guide-anatomy { border: 0; padding: 0; min-inline-size: 0; margin: 0; }
.guide-states { margin-top: 2rem; }
.guide-states > legend { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.guide-radio { position: absolute; width: 1px; height: 1px; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.guide-state-label { display: inline-block; border-radius: 999px; border: 1px solid #b6c9ba; padding: .6rem 1rem; cursor: pointer; margin: 0 .3rem .5rem 0; font-size: .94rem; }
.guide-state:checked + .guide-state-label { background: #2e604c; border-color: #2e604c; color: white; }
.guide-state:focus-visible + .guide-state-label { outline: 3px solid #9a7430; outline-offset: 3px; }
.guide-panels { margin-top: .8rem; padding: 1.4rem; border-radius: 18px; background: #e8eee3; }
.guide-state-panel { display: none; }
#guide-male:checked ~ .guide-panels [data-guide-state="male"],
#guide-female:checked ~ .guide-panels [data-guide-state="female"],
#guide-winter:checked ~ .guide-panels [data-guide-state="winter"],
#guide-young:checked ~ .guide-panels [data-guide-state="young"] { display: block; }
.guide-anatomy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.2rem; align-items: center; }
.guide-help { font-size: .85rem; color: #526a5b; margin-bottom: .8rem; }
.guide-bird { position: relative; min-width: 0; }
.guide-canvas > svg { display: block; width: 100%; height: auto; }
.guide-duck-outline { fill: #ccd7c7; stroke: #78907c; stroke-width: 2; }
.guide-duck-wing { fill: #bbcbb6; stroke: #78907c; stroke-width: 2; }
.guide-duck-bill { fill: #dbe2d3; stroke: #78907c; stroke-width: 2; }
.guide-duck-lines { fill: none; stroke: #617765; stroke-linecap: round; stroke-width: 5; }
.guide-hotspot { display: inline-flex; align-items: center; min-height: 44px; position: absolute; padding: .4rem .6rem; border: 1px solid #9eb19f; border-radius: 999px; background: #fafbf6; font-size: .82rem; cursor: pointer; white-space: nowrap; }
.guide-hotspot-head { left: 60%; top: 0; }
.guide-hotspot-bill { right: 0; top: 12%; }

.guide-hotspot-wing { left: 28%; top: 38%; }
.guide-diagram-note { text-align: center; font-size: .75rem; color: #62776b; margin: .2rem 0 0; }
.guide-part-panels { min-width: 0; }
.guide-part-panel { display: none; }
.guide-part-panel h4, .guide-young-panel h4 { margin: .4rem 0 .8rem; font-size: 1.35rem; }
.guide-part-panel p, .guide-young-panel p { line-height: 1.75; margin: .65rem 0; }
.guide-context { font-size: .8rem; color: #62776b; }
.guide-young-panel article + article { border-top: 1px solid #c6d3c3; padding-top: 1.2rem; margin-top: 1.2rem; }
.guide-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-block: 1.8rem; }
.guide-secondary h3 { font-size: 1.25rem; margin: 0 0 .8rem; }
.guide-secondary h4 { font-size: .95rem; margin: 0; color: #526a5b; }
.guide-secondary p { line-height: 1.75; }
.guide-complete { padding: 1rem 0; border-block: 1px solid #d3ded3; }
.guide-complete > summary { font-weight: 600; cursor: pointer; }
@media (max-width: 700px) {
  .guide-highlights { grid-template-columns: 1fr; }
  .guide-highlights article { position: relative; padding: .9rem 1rem .9rem 3.4rem; }
  .guide-number { position: absolute; top: 1.05rem; left: 1rem; }
  .guide-highlights h4 { margin-top: 0; }
  .guide-states > legend { font-size: 1.1rem; }
  .guide-state-label { padding: .6rem .7rem; font-size: .85rem; margin-right: .15rem; }
  .guide-panels { padding: 1rem; }
  .guide-anatomy, .guide-secondary { grid-template-columns: 1fr; }
  .guide-bird { max-width: 360px; width: 100%; margin-inline: auto; }
  .guide-part-panels { border-top: 1px solid #c6d3c3; padding-top: 1rem; }
}

.guide-part[value="head"]:checked ~ .guide-part-panels [data-guide-part="head"] { display: block; }
.guide-part[value="head"]:checked ~ .guide-bird .guide-hotspot-head { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="head"]:focus-visible ~ .guide-bird .guide-hotspot-head { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="wing"]:checked ~ .guide-part-panels [data-guide-part="wing"] { display: block; }
.guide-part[value="wing"]:checked ~ .guide-bird .guide-hotspot-wing { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="wing"]:focus-visible ~ .guide-bird .guide-hotspot-wing { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="bill"]:checked ~ .guide-part-panels [data-guide-part="bill"] { display: block; }
.guide-part[value="bill"]:checked ~ .guide-bird .guide-hotspot-bill { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="bill"]:focus-visible ~ .guide-bird .guide-hotspot-bill { outline: 3px solid #9a7430; outline-offset: 3px; }

.species-guide-heading { padding-top: 2rem; padding-bottom: 1.5rem; }
.species-guide-heading h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-block: .6rem; }
.species-guide-heading .eyebrow { display: none; }
.species-guide-heading .species-summary { font-size: .9rem; }

.guide-hotspot-neck { left: 71%; top: 34%; }
.guide-hotspot-chest { left: 72%; top: 56%; }
.guide-hotspot-belly { left: 44%; top: 65%; }
.guide-hotspot-tail { left: 0; top: 42%; }
.guide-subparts { margin: .7rem 0; }
.guide-subparts dt { font-size: .85rem; color: #526a5b; margin-top: .9rem; }
.guide-subparts dd { margin: .2rem 0 0; font-size: 1.1rem; line-height: 1.7; }
.guide-overall { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid #c6d3c3; }
.guide-overall h4 { margin: 0; }

.guide-part[value="neck"]:checked ~ .guide-part-panels [data-guide-part="neck"] { display: block; }
.guide-part[value="neck"]:checked ~ .guide-bird .guide-hotspot-neck { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="neck"]:focus-visible ~ .guide-bird .guide-hotspot-neck { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="chest"]:checked ~ .guide-part-panels [data-guide-part="chest"] { display: block; }
.guide-part[value="chest"]:checked ~ .guide-bird .guide-hotspot-chest { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="chest"]:focus-visible ~ .guide-bird .guide-hotspot-chest { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="belly"]:checked ~ .guide-part-panels [data-guide-part="belly"] { display: block; }
.guide-part[value="belly"]:checked ~ .guide-bird .guide-hotspot-belly { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="belly"]:focus-visible ~ .guide-bird .guide-hotspot-belly { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="tail"]:checked ~ .guide-part-panels [data-guide-part="tail"] { display: block; }
.guide-part[value="tail"]:checked ~ .guide-bird .guide-hotspot-tail { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="tail"]:focus-visible ~ .guide-bird .guide-hotspot-tail { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-leader { stroke: #62776b; stroke-width: 1.2; fill: #62776b; }
.guide-leader line { stroke-dasharray: 3 3; }

/* Ten-species trial: outside labels leave the silhouette unobstructed. */
#guide-adult:checked ~ .guide-panels [data-guide-state="adult"],
#guide-breeding:checked ~ .guide-panels [data-guide-state="breeding"] { display: block; }
.species-identification-guide .guide-canvas { position: relative; }
.species-identification-guide .guide-silhouette { opacity: .32; }
.species-identification-guide .guide-hotspot { min-width: 44px; justify-content: center; padding: .3rem .45rem; }
.species-identification-guide .guide-hotspot-head { left: auto; right: 0; top: 0; }
.species-identification-guide .guide-hotspot-bill { left: auto; right: 0; top: 20%; }
.species-identification-guide .guide-hotspot-neck { left: auto; right: 0; top: 40%; }
.species-identification-guide .guide-hotspot-chest { left: auto; right: 0; top: 60%; }
.species-identification-guide .guide-hotspot-belly { left: auto; right: 0; top: 80%; }
.species-identification-guide .guide-hotspot-back { left: 0; right: auto; top: 0; }
.species-identification-guide .guide-hotspot-wing { left: 0; right: auto; top: 25%; }
.species-identification-guide .guide-hotspot-tail { left: 0; right: auto; top: 50%; }
.species-identification-guide .guide-hotspot-legs { left: 0; right: auto; top: 75%; }
.guide-part[value="back"]:checked ~ .guide-part-panels [data-guide-part="back"],
.guide-part[value="legs"]:checked ~ .guide-part-panels [data-guide-part="legs"] { display: block; }
.guide-part[value="back"]:checked ~ .guide-bird .guide-hotspot-back,
.guide-part[value="legs"]:checked ~ .guide-bird .guide-hotspot-legs { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="back"]:focus-visible ~ .guide-bird .guide-hotspot-back,
.guide-part[value="legs"]:focus-visible ~ .guide-bird .guide-hotspot-legs { outline: 3px solid #9a7430; outline-offset: 3px; }

/* Dimensions precede anatomy; priority remains recognizable without colour. */
.guide-metrics { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 12px; color: #526a5b; font-size: .9rem; line-height: 1.6; }
.guide-metrics > span + span::before { content: "·"; margin: 0 .65em; color: #829087; }
.guide-extra-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.guide-extra-links label { cursor: pointer; padding: 10px 14px; min-height: 44px; border: 1px solid #b6c9ba; border-radius: 999px; font-size: .88rem; }
.guide-plumage, .guide-regional { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid #809780; background: #edf1e8; border-radius: 0 12px 12px 0; }
.guide-plumage h3, .guide-regional h3 { margin: 0; font-size: 1.05rem; }
.guide-plumage .guide-subparts dd { font-size: 1rem; }
.guide-hotspot-priority { border: 2px solid #876725; font-weight: 750; box-shadow: 0 0 0 2px #f3e8c7; gap: 3px; }
.guide-leader-priority { stroke: #876725; fill: #876725; stroke-width: 2; }
.guide-leader-priority line { stroke-dasharray: none; }
.guide-priority-detail { padding: 1rem; border-left: 4px solid #98752c; border-radius: 0 12px 12px 0; background: #faf7e9; }
.guide-priority-detail dd { font-weight: 650; }
.guide-key-label { color: #725318; font-size: .8rem; font-weight: 750; }
.guide-comparison { font-size: .85rem; color: #526a5b; line-height: 1.6; margin: 0 0 1rem; }
.guide-text-differences h4 { font-size: 1.15rem; margin: .5rem 0; }
.guide-text-differences article + article { border-top: 1px solid #c6d3c3; margin-top: 1rem; padding-top: 1rem; }
#guide-season:checked ~ .guide-panels [data-guide-state="season"] { display: block; }

.guide-hotspot .sr-only, .guide-extra-links .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.guide-part[value="plumage"]:checked ~ .guide-part-panels [data-guide-part="plumage"] { display: block; }
.guide-part[value="plumage"]:checked ~ .guide-bird .guide-extra-plumage { background: #2e604c; color: white; }
.guide-part[value="plumage"]:focus-visible ~ .guide-bird .guide-extra-plumage { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="voice"]:checked ~ .guide-part-panels [data-guide-part="voice"] { display: block; }
.guide-part[value="voice"]:checked ~ .guide-bird .guide-extra-voice { background: #2e604c; color: white; }
.guide-part[value="voice"]:focus-visible ~ .guide-bird .guide-extra-voice { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-part[value="confusion"]:checked ~ .guide-part-panels [data-guide-part="confusion"] { display: block; }
.guide-part[value="confusion"]:checked ~ .guide-bird .guide-extra-confusion { background: #2e604c; color: white; }
.guide-part[value="confusion"]:focus-visible ~ .guide-bird .guide-extra-confusion { outline: 3px solid #9a7430; outline-offset: 3px; }

.guide-key-fact { font-weight: 700; border-left: 3px solid #98752c; padding: .5rem .75rem; background: #faf7e9; border-radius: 0 8px 8px 0; }

/* Quiet catalog navigation keeps its center fixed at either boundary. */
.species-browse { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 18px 0; font-size: 14px; }
.species-browse[hidden], .species-browse > a[hidden] { display: none; }
.species-browse > a { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 36px; text-decoration: none; }
.species-browse > a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.species-browse [data-browse-previous] { grid-column: 1; grid-row: 1; }
.species-browse [data-browse-next] { grid-column: 3; grid-row: 1; justify-content: flex-end; }
.species-browse strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: inherit; font-weight: 500; }
.species-browse > div { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; color: #7a8980; white-space: nowrap; font-size: 12px; }
.species-browse > div a { font-size: 13px; text-decoration: none; }
.species-browse > div a:hover { text-decoration: underline; text-underline-offset: 4px; }
.species-resources { margin-top: 24px; border-bottom: 1px solid #d3ded3; }
.species-resource { border-top: 1px solid #d3ded3; }
.species-resource > summary { padding: 15px 0; color: #496357; font-size: 14px; font-weight: 500; line-height: 1.6; cursor: pointer; }
.species-resource[open] > summary { padding-bottom: 8px; }
.species-resource-body { padding: 0 0 18px 18px; color: #4c6256; }
.species-resource-body h3 { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.species-resource-body p { margin: 7px 0; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.species-reference { margin: 14px 0; }
.species-resource-body .species-reference-meta { margin: 3px 0; font-size: 12px; color: #758479; }
.species-metric-sources { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 14px 0; font-size: 13px; }
.species-metric-sources dt { padding-top: 7px; font-weight: 500; }
.species-metric-sources dd { margin: 0; }
@media (max-width: 700px) {
  .species-browse { gap: 8px; font-size: 13px; }
  .species-browse > a { min-height: 44px; gap: 5px; }
  .species-browse > div { gap: 5px; font-size: 11px; }
  .species-browse > div a { font-size: 12px; }
  .species-resource-body { padding-left: 12px; }
}

.species-map-switch { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2px; margin: 0 0 12px; border-bottom: 1px solid #d7dfd3; }
.species-map-switch[hidden], [data-map-panel][hidden] { display: none; }
.species-map-switch button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; white-space: nowrap; background: transparent; color: #657b6e; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 7px; min-height: 44px; font: inherit; font-size: 13px; cursor: pointer; }
.species-map-switch button[aria-pressed="true"] { color: #18342c; border-bottom-color: currentColor; font-weight: 600; }
.species-map-badge { display: inline-block; margin-left: 3px; padding: 1px 3px; border: 1px solid #d7e0d9; border-radius: 4px; background: #f0f4ef; color: #61746a; font-size: 9px; font-weight: 400; line-height: 1.2; position: relative; top: -4px; }
.species-season-switch { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; margin: 0 0 12px; }
.species-season-switch[hidden], [data-season-panel][hidden] { display: none; }
.species-season-switch button { flex: 0 0 auto; white-space: nowrap; border: 1px solid #d7dfd3; background: #f5f7f2; color: #52685b; border-radius: 8px; padding: 8px 10px; min-height: 44px; font: inherit; font-size: 12px; cursor: pointer; }
.species-season-switch button[aria-pressed="true"] { background: #18342c; color: #fff; border-color: #18342c; }

.species-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.species-switch-trigger { border: 0; background: transparent; color: #62776b; padding: 8px 4px; font-size: 14px; cursor: pointer; }
.species-switch-trigger[hidden] { display: none; }
.species-switch { width: min(480px, calc(100vw - 32px)); max-height: 75dvh; padding: 22px; border: 1px solid #d9e1d8; border-radius: 16px; background: #fafbf6; color: #233b31; box-shadow: 0 16px 60px #233b3126; }
.species-switch::backdrop { background: #20362c55; }
.species-switch-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.species-switch-heading h2 { margin: 0; font-size: 20px; }
.species-switch-heading button { border: 0; background: transparent; font-size: 26px; color: inherit; cursor: pointer; min-width: 40px; }
.species-switch-search { display: block; font-size: 13px; }
.species-switch-search input { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px 12px; border: 1px solid #cbd7cc; border-radius: 8px; background: #fffef9; color: inherit; font: inherit; font-size: 16px; }
.species-switch-search input:focus { outline: 2px solid #739681; outline-offset: 1px; }
.species-switch-hint { font-size: 12px; color: #62776b; margin: 12px 0; }
.species-switch-results { overflow-y: auto; max-height: 45dvh; overscroll-behavior: contain; }
.species-switch-results [role=option] { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 8px; cursor: pointer; }
.species-switch-results [role=option]:hover, .species-switch-results [aria-selected=true] { background: #e8eee3; }
.species-switch-results strong { font-size: 15px; font-weight: 500; }
.species-switch-results span { font-size: 12px; color: #62776b; }
@media (max-width: 640px) {
  .species-switch { margin: auto 0 0; width: 100%; max-width: none; border-radius: 18px 18px 0 0; padding: 20px 20px max(20px, env(safe-area-inset-bottom)); }
  .species-browse > div { flex-direction: column; gap: 2px; }
  .species-browse > div > span[aria-hidden] { display: none; }
}

/* Consistent guide controls and reading style, on both screen sizes. */
.species-identification-guide .guide-hotspot,
.species-identification-guide .guide-extra-links label { font-weight: 400; border: 1px solid #9eb19f; box-shadow: none; background: #fafbf6; }
.species-identification-guide .guide-priority-detail,
.species-identification-guide .guide-key-fact { padding: 0; border: 0; border-radius: 0; background: transparent; }
.species-identification-guide .guide-subparts dd { font-weight: 400; }
.species-identification-guide .guide-key-label { display: none; }
.species-identification-guide .guide-leader { stroke: #9bab9e; fill: #79917e; stroke-width: 1; }
.species-identification-guide .guide-leader line { stroke-dasharray: none; }
@media (max-width: 700px) {
  .species-identification-guide .guide-panels { padding: 12px; }
  .species-identification-guide .guide-anatomy { gap: 12px; }
  .species-identification-guide .guide-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .species-identification-guide .guide-bird { max-width: none; height: var(--guide-height, 220px); }
  .species-identification-guide .guide-canvas { position: static; }
  .species-identification-guide .guide-canvas > svg { width: 100%; height: var(--guide-height, 220px); }
  .species-identification-guide .guide-hotspot { left: auto; right: 0; width: 88px; min-height: 40px; padding: 6px 3px; font-size: 12px; }
  .species-identification-guide .guide-extra-links { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 62px; flex-direction: column; gap: 6px; margin: 0; }
  .species-identification-guide .guide-extra-links label { min-height: 40px; padding: 8px 3px; font-size: 12px; text-align: center; }
  .species-identification-guide .guide-diagram-note { text-align: left; }
  .species-identification-guide .guide-part-panels { padding-top: 10px; }
  .species-identification-guide .guide-part-panel h4 { margin: 0 0 6px; font-size: 18px; }
  .species-identification-guide .guide-subparts { margin: 6px 0; }
  .species-identification-guide .guide-subparts dd { font-size: 16px; line-height: 1.65; }
  .species-identification-guide .guide-generic-scope { display: none; }
}
.species-identification-guide .guide-part[value="head"]:checked ~ .guide-bird .guide-hotspot-head { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="head"]:checked ~ .guide-bird .guide-leader-head { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="bill"]:checked ~ .guide-bird .guide-hotspot-bill { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="bill"]:checked ~ .guide-bird .guide-leader-bill { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="neck"]:checked ~ .guide-bird .guide-hotspot-neck { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="neck"]:checked ~ .guide-bird .guide-leader-neck { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="chest"]:checked ~ .guide-bird .guide-hotspot-chest { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="chest"]:checked ~ .guide-bird .guide-leader-chest { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="belly"]:checked ~ .guide-bird .guide-hotspot-belly { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="belly"]:checked ~ .guide-bird .guide-leader-belly { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="back"]:checked ~ .guide-bird .guide-hotspot-back { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="back"]:checked ~ .guide-bird .guide-leader-back { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="wing"]:checked ~ .guide-bird .guide-hotspot-wing { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="wing"]:checked ~ .guide-bird .guide-leader-wing { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="tail"]:checked ~ .guide-bird .guide-hotspot-tail { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="tail"]:checked ~ .guide-bird .guide-leader-tail { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="legs"]:checked ~ .guide-bird .guide-hotspot-legs { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="legs"]:checked ~ .guide-bird .guide-leader-legs { stroke: #2e604c; fill: #2e604c; stroke-width: 1.5; }
.species-identification-guide .guide-part[value="plumage"]:checked ~ .guide-bird .guide-extra-plumage { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="voice"]:checked ~ .guide-bird .guide-extra-voice { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }
.species-identification-guide .guide-part[value="confusion"]:checked ~ .guide-bird .guide-extra-confusion { background: #2e604c; color: white; border-color: #2e604c; --guide-star-color: #f1d580; }

/* Equal controls, with restrained emphasis for identification priorities. */
.species-identification-guide .guide-hotspot,
.species-identification-guide .guide-extra-links label { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 44px; min-height: 44px; padding: 4px; white-space: nowrap; }
.species-identification-guide .guide-hotspot { width: 104px; }
.species-identification-guide .guide-extra-links label { width: 88px; }
.species-identification-guide .guide-hotspot-priority,
.species-identification-guide .guide-extra-links label.guide-hotspot-priority { font-weight: 600; }
.species-identification-guide .guide-star { color: var(--guide-star-color, #947127); font-size: .9em; }
.species-identification-guide .guide-priority-detail > h4,
.species-identification-guide .guide-priority-extra > h4 { color: #7b5d22; }
.species-identification-guide .guide-priority-detail > h4::before,
.species-identification-guide .guide-priority-extra > h4::before { content: "★"; color: #947127; font-size: .8em; margin-right: .35em; }
.species-identification-guide .guide-priority-detail .guide-subparts dd,
.species-identification-guide .guide-subparts .guide-key-fact { border-left: 2px solid #b39753; padding-left: 10px; background: transparent; font-weight: 400; }
@media (max-width: 700px) {
  .species-identification-guide .guide-hotspot,
  .species-identification-guide .guide-extra-links label { height: 40px; min-height: 40px; }
  .species-identification-guide .guide-hotspot { width: 88px; }
  .species-identification-guide .guide-extra-links label { width: 62px; }
}

.first-encounter-with-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 34%); gap: 24px; align-items: center; }
.first-encounter-text { min-width: 0; }
.first-encounter-members a { text-decoration: none; }
.first-encounter-photo { display: block; overflow: hidden; border-radius: 14px; }
.first-encounter-photo img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
@media (max-width: 700px) {
  .first-encounter-with-photo { grid-template-columns: 1fr; gap: 16px; }
  .first-encounter-photo img { max-height: 320px; }
}

.navigation-feedback [data-export-navigation-diagnostic], .navigation-feedback [data-navigation-retry] { pointer-events: auto; padding: 4px 8px; border: 1px solid #b5c5b9; border-radius: 6px; color: inherit; background: transparent; cursor: pointer; }

.navigation-feedback { max-width: calc(100vw - 24px); width: max-content; flex-wrap: wrap; justify-content: center; }
.navigation-feedback [hidden] { display: none; }

/* Optional travel / itinerary organization. */
.travel-form { max-width: 900px; margin: 0 auto 4rem; }
.travel-form .stacked-field { display: grid; gap: .5rem; margin-block: 1rem; }
.travel-form input:not([type=checkbox]), .travel-form textarea { width: 100%; box-sizing: border-box; }
.travel-dates, .travel-stage-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.travel-dates > label { flex: 1 1 220px; }
.travel-stage { border: 1px solid var(--line, #ccd5ca); border-radius: 16px; padding: 1rem; margin-block: 1.5rem; min-width: 0; }
.travel-form details { margin-block: 1rem; }
.travel-options { max-height: 320px; overflow: auto; border: 0; padding: .5rem 0; }
.travel-options label { display: flex; gap: .6rem; align-items: baseline; padding: .45rem; }
.travel-options label[hidden] { display: none; }
.travel-options input { flex-shrink: 0; }

.section-tabs[aria-label="行程中心"] { flex-wrap: wrap; overflow: visible; max-width: 100%; }

.pagination-jump input[data-page-digits="1"] { --page-digits: 1; }
.pagination-jump input[data-page-digits="2"] { --page-digits: 2; }
.pagination-jump input[data-page-digits="3"] { --page-digits: 3; }
.pagination-jump input[data-page-digits="4"] { --page-digits: 4; }
.pagination-jump input[data-page-digits="5"] { --page-digits: 5; }
.pagination-jump input[data-page-digits="6"] { --page-digits: 6; }

/* Journey home and scoped travel itinerary. */
.journey-section { margin: 2rem 0; }
.journey-section h2 small { font: 500 .85rem var(--font-body, sans-serif); color: var(--muted); }
.journey-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 1rem; }
.journey-card { display: block; border: 1px solid var(--line, #d5ded6); border-radius: 18px; padding: 1.3rem; color: inherit; background: var(--surface, #fff); text-decoration: none; }
.journey-card:hover { border-color: var(--accent, #3d6351); }
.journey-card h3 { margin: .65rem 0; font-size: 1.4rem; }
.journey-card p { margin: .5rem 0; }
.journey-card-meta { display:flex; justify-content:space-between; gap:.6rem; font-size:.8rem; color:var(--muted, #667a6e); }
.journey-secondary { margin: 2rem 0; font-size: .9rem; }
.journey-timeline { display:grid; gap:1rem; border-left:2px solid #cfdbd1; padding-left:1rem; }
.journey-stop { border:1px solid #d5ded6; border-radius:14px; padding:1rem 1.2rem; background:#fffdf8; }
.journey-stop h3 { margin:.4rem 0; }
.journey-stop a small, .journey-actual a { display:block; }
.journey-stop small { margin:.4rem 0; }
.journey-actual { margin:.8rem 0; padding:.6rem .8rem; border-left:3px solid #729680; background:#edf3eb; }
.journey-plan-link { font-size:.85rem; }
.journey-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1rem; }
.travel-scope { overflow:auto; }
.travel-heading h1 { font-size:clamp(2rem,4vw,3.3rem); }
.travel-heading { margin-bottom:1.3rem; }
.travel-picker { max-height:30rem; overflow:auto; }
.travel-picker label { display:flex; align-items:flex-start; gap:.65rem; padding:.8rem 0; border-bottom:1px solid #e1e6df; }
.travel-picker label input { flex:0 0 auto; margin-top:.2rem; }
.travel-picker label small { display:block; color:var(--muted, #667a6e); }
.travel-picker [hidden] { display:none; }
.journey-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; margin:1rem 0; }
.journey-selection { border:1px solid #d5ded6; border-radius:14px; padding:1rem; }
@media (max-width:640px) {
  .journey-section { margin:1.4rem 0; }
  .journey-card { padding:1rem; }
  .journey-timeline { padding-left:.6rem; }
  .journey-stop { padding:.85rem; }
  .travel-heading p { font-size:.88rem; }
  .archive-filters input[type=date] { max-width:100%; min-width:0; }
  .travel-scope { flex-wrap:nowrap; }
  .travel-scope a { white-space:nowrap; }
}

.journey-filter { margin:1rem 0 1.5rem; }
.journey-filter summary { cursor:pointer; color:var(--muted, #667a6e); font-size:.9rem; }
.archive-filters input[type=date] { padding:.6rem; border:1px solid #c6d3c9; border-radius:10px; background:#fffdf8; font:inherit; }
.archive-filters button, .travel-form button { padding:.65rem 1rem; border:1px solid #c6d3c9; border-radius:10px; background:#edf3eb; color:#2d5142; font:inherit; cursor:pointer; }
.journey-timeline, .journey-stop { min-width:0; overflow-wrap:anywhere; }
.journey-section h2 { font-size:1.5rem; }
.journey-section .section-title { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.travel-heading.page-heading { padding-top:28px; padding-bottom:18px; }
.travel-heading.page-heading h1 { font-size:clamp(2rem,4vw,3.3rem); margin-bottom:12px; }
/* Keep the 5px navigation/focus ring inside the scrollable area. */
.travel-scope.section-tabs { max-width:calc(100% + 12px); margin:-6px -6px 14px; padding:6px 6px 8px; scroll-padding-inline:6px; }
.travel-form select { max-width:100%; padding:.65rem; border:1px solid #c6d3c9; border-radius:10px; font:inherit; }
.travel-form [hidden] { display:none; }
.journey-section .section-title { flex-direction:row; text-align:left; }

/* Shared calendar / monthly review navigation. */
.month-navigation { display: grid; gap: 14px; margin: 22px 0 12px; }
.month-navigation-heading, .month-navigation-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.month-navigation-heading h2 { margin: 0; font-size: 24px; }
.month-peer-link { color: var(--green, #264e3c); font-weight: 750; text-underline-offset: 4px; }
.month-navigation-controls form { display: flex; gap: 8px; align-items: center; margin: 0; }
.month-navigation-controls input { width: 165px; min-width: 0; padding: 9px 10px; border: 1px solid #d5ded3; border-radius: 9px; background: #fff; font: inherit; color: inherit; }
.month-navigation-controls [aria-disabled] { opacity: .4; }
.calendar-month-summary { color: #537061; margin: 0 0 22px; }
@media (max-width: 520px) {
  .month-navigation-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .month-navigation-controls form { grid-column: 1 / -1; grid-row: 1; }
  .month-navigation-controls input { flex: 1; width: 0; }
  .month-navigation-controls > :last-child { justify-self: end; }
}

.month-navigation .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.month-navigation-controls { padding: 8px; margin: -8px; }

/* Shared journal-like footprint panels. */
.footprint-page, .footprint-chart-card, .footprint-section { --serif: Georgia, "Songti SC", "STSong", serif; }
.footprint-page { padding-bottom: 30px; }
.footprint-heading { text-align: center; padding: 24px 0 30px; position: relative; }
.footprint-heading h1 { font-family: var(--serif); font-size: clamp(40px,5vw,64px); line-height: 1.2; margin: 10px 0; }
.footprint-heading > p:not(.eyebrow) { color: #687c70; margin: 12px 0 24px; }
.footprint-heading .section-tabs { justify-content: center; margin-bottom: 0; }
.footprint-chart-card { background: #fffefa; border: 1px solid #d7e0d5; border-radius: 22px; padding: 28px 30px 22px; box-shadow: 0 12px 40px #284a3210; }
.footprint-chart-card .section-title { margin: 0 0 18px; }
.footprint-chart-card h2, .footprint-section h2 { font-family: var(--serif); font-size: 29px; line-height: 1.25; margin: 0; }
.footprint-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footprint-page .chip-list, .footprint-chart-card .chip-list { margin: 0; gap: 7px; }
.footprint-page .chip-list a[aria-current], .footprint-chart-card .chip-list a[aria-current] { color: #fff; background: #294e40; border-color: #294e40; }
.footprint-numbers { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 0; }
.footprint-numbers > div { display: flex; align-items: baseline; gap: 12px; }
.footprint-numbers strong { font-family: var(--serif); font-size: clamp(46px,6vw,68px); line-height: 1.2; font-weight: 600; }
.footprint-numbers span { font-size: 14px; }
.footprint-numbers p { color: #718276; font-size: 14px; margin: 0; }
.footprint-svg { display: block; width: 100%; min-width: 620px; overflow: visible; }
.footprint-plot { overflow-x: auto; padding-top: 8px; }
.footprint-gridline { stroke: #dbe2d9; stroke-dasharray: 2 4; }
.footprint-axis { fill: #728076; font-size: 13px; }
.footprint-line { stroke: #2d5948; stroke-width: 2.5; fill: none; stroke-linejoin: round; }
.footprint-area { fill: #96b59d; opacity: .16; }
.footprint-band { fill: #c9d9c7; opacity: .35; }
.footprint-band:nth-child(even) { fill: #e7dcc4; }
.footprint-hit { fill: transparent; }
.footprint-dot { fill: #3f6a54; stroke: #fffefa; stroke-width: 2px; }
.footprint-dot.selected { fill: #123e2d; stroke-width: 3px; }
.footprint-milestone-dot { fill: #b69655; stroke: #fffefa; stroke-width: 2px; }
.footprint-svg a:hover .footprint-dot, .footprint-svg a:focus .footprint-dot { fill: #b18c40; }
.footprint-chart-bottom { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-top: 4px; }
.footprint-month { flex: 0 0 auto; border: 1px solid #dbe2d7; border-radius: 14px; padding: 16px 20px; background: #f3f6ef; min-width: 240px; }
.footprint-month > strong { font-size: 17px; }
.footprint-month p { margin: 8px 0; font-size: 14px; color: #607565; }
.footprint-month > div { display: flex; gap: 16px; font-size: 13px; }
.footprint-month a { text-decoration: none; }
.footprint-month-picker { margin: 12px 0 0; }
.footprint-month-picker label { font-size: 12px; }
.footprint-section { margin-top: 34px; }
.footprint-section .section-title { margin-bottom: 18px; flex-wrap: wrap; gap: 16px; }
.footprint-stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.footprint-story { overflow: hidden; border: 1px solid #d7e0d5; border-radius: 18px; background: #fffefa; text-decoration: none; color: inherit; box-shadow: 0 8px 25px #284a3208; }
.footprint-story > img, .footprint-no-photo { width: 100%; height: 185px; object-fit: cover; display: block; }
.footprint-no-photo { display: flex; flex-direction: column; justify-content: center; align-items: center; background: #e8eee3; color: #6c806f; gap: 6px; }
.footprint-no-photo strong { font: 38px var(--serif); }
.footprint-no-photo small { font-size: 12px; }
.footprint-story-body { padding: 18px 22px 22px; }
.footprint-tag { background: #e7eddd; color: #596d4d; font-size: 12px; padding: 4px 9px; border-radius: 20px; }
.footprint-story h3 { font-family: var(--serif); font-size: 23px; margin: 12px 0 8px; }
.footprint-story p { font-size: 13px; color: #758277; line-height: 1.7; margin: 0 0 12px; }
.footprint-story-link { font-size: 13px; color: #3e6351; }
.footprint-milestones { margin: 18px 0; color: #657d6a; font-size: 14px; }
.footprint-milestones summary { cursor: pointer; padding: 8px 0; }
.footprint-milestones a { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px; border-bottom: 1px solid #dce3d8; text-decoration: none; }
.footprint-contributions { background: #fffefa; border: 1px solid #d7e0d5; border-radius: 20px; padding: 6px 22px; }
.footprint-contribution { display: grid; grid-template-columns: 148px minmax(0,1fr) auto 24px; gap: 22px; align-items: center; padding: 16px 0; border-bottom: 1px solid #e2e7dd; text-decoration: none; color: inherit; }
.footprint-contribution:last-child { border: 0; }
.footprint-contribution img, .footprint-contribution-placeholder { width: 148px; height: 82px; object-fit: cover; border-radius: 11px; }
.footprint-contribution-placeholder { display: grid; place-items: center; background: #e8eee3; color: #708477; font-family: var(--serif); }
.footprint-contribution h3 { font: 22px var(--serif); margin: 0 0 7px; }
.footprint-contribution p { font-size: 13px; color: #7a897e; margin: 0; }
.footprint-contribution > strong { font-size: 17px; white-space: nowrap; }
.footprint-arrow { color: #839385; font-size: 24px; }
.footprint-note { color: #7b897b; font-size: 12px; margin: 18px 0; line-height: 1.8; }
.footprint-empty { color: #758675; padding: 36px 12px; text-align: center; line-height: 1.8; }
@media(max-width: 700px) {
  .footprint-heading { padding: 10px 0 24px; }
  .footprint-heading > p:not(.eyebrow) { font-size: 14px; }
  .footprint-chart-card { padding: 20px 16px; border-radius: 18px; }
  .footprint-chart-card .section-meta { display: none; }
  .footprint-chart-card h2, .footprint-section h2 { font-size: 25px; }
  .footprint-controls .chip-list a { font-size: 12px; padding: 7px 11px; }
  .footprint-numbers { gap: 6px; margin-top: 16px; }
  .footprint-numbers > div { width: 100%; }
  .footprint-chart-bottom { flex-direction: column; gap: 14px; }
  .footprint-month { width: 100%; min-width: 0; }
  .footprint-month-picker { margin-top: 18px; }
  .footprint-month-picker label { flex: 1; }
  .footprint-stories { grid-template-columns: 1fr; gap: 16px; }
  .footprint-story > img, .footprint-no-photo { height: 190px; }
  .footprint-story-body { padding: 18px; }
  .footprint-contributions { padding: 4px 14px; }
  .footprint-contribution { grid-template-columns: 78px minmax(0,1fr); gap: 8px 14px; padding: 15px 0; }
  .footprint-contribution img, .footprint-contribution-placeholder { width: 78px; height: 70px; grid-row: span 2; }
  .footprint-contribution h3 { font-size: 19px; margin: 0 0 4px; }
  .footprint-contribution p { font-size: 12px; }
  .footprint-contribution > strong { grid-column: 2; font-size: 14px; }
  .footprint-arrow { display: none; }
}
.footprint-landscape { position: absolute; inset: auto 0 0; width: 100%; height: 165px; pointer-events: none; z-index: -1; }
.footprint-heading { isolation: isolate; }
.footprint-svg:focus-visible, .footprint-svg a:focus-visible { outline: 2px solid #356b49; }
.footprint-month-point { cursor: pointer; text-decoration: none; }
.footprint-selection-ring { fill: #dce9d6; stroke: #769a7d; stroke-width: 1; }
.footprint-point-label rect { fill: #f5f8f0; stroke: #d4dfcf; }
.footprint-point-label text { fill: #496d55; font-size: 13px; font-weight: 650; }
.footprint-month-point.selected .footprint-point-label rect { fill: #2d5948; stroke: #2d5948; }
.footprint-month-point.selected .footprint-point-label text { fill: #fffefa; }
.footprint-month-point:hover .footprint-point-label rect, .footprint-month-point:focus-visible .footprint-point-label rect { stroke: #8b753e; stroke-width: 2; }
.footprint-event { cursor: pointer; text-decoration: none; }
.footprint-event-leader { fill: none; stroke: #92ab98; stroke-width: 1; stroke-dasharray: 3 4; pointer-events: none; }
.footprint-event rect { fill: #e8f0e7; stroke: #b9cebc; }
.footprint-event text { fill: #3e6249; font-size: 13px; font-weight: 650; }
.footprint-event-dot { fill: #678975; stroke: #fffefa; stroke-width: 2; }
.footprint-event.milestone rect { fill: #f6efdd; stroke: #d7c493; }
.footprint-event.milestone text { fill: #856a32; }
.footprint-event.milestone .footprint-event-dot { fill: #b69655; }
.footprint-event-leader.milestone { stroke: #b69655; }
.footprint-event:hover rect, .footprint-event:focus-visible rect { stroke: #496c50; stroke-width: 2; }
.footprint-chart-bottom { justify-content: space-between; align-items: end; }
.reflection-period-title { margin: 26px 0 0; font: 28px var(--serif); }
.footprint-svg .footprint-point-label text, .footprint-svg .footprint-event text { font-size: 13px; font-weight: 600; }
.footprint-event.story rect { fill: #edf1e7; stroke: #c5d1b4; }
.footprint-event.selected rect { fill: #2d5948; stroke: #2d5948; }
.footprint-event.selected text { fill: #fffefa; }
.footprint-event.selected .footprint-event-dot { stroke: #2d5948; stroke-width: 4; }
.footprint-active-span { fill: #719b79; fill-opacity: .18; stroke: #719b79; stroke-opacity: .45; }
.footprint-selection { margin-top: 18px; padding: 22px 24px; min-height: 216px; scroll-margin-bottom: 90px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-content: center; gap: 14px 28px; border: 1px solid #d7e0d3; border-radius: 16px; background: #f3f6ef; }
.footprint-selection-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
.footprint-selection-main > img { width: 108px; height: 84px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.footprint-selection-type { color: #71816e; font-size: 12px; }
.footprint-selection h3 { margin: 5px 0 8px; font: 25px var(--serif); }
.footprint-selection-main p { margin: 5px 0 0; color: #6c7e70; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.footprint-selection-summary { align-self: center; }
.footprint-selection-summary > p { margin: 0 0 16px; font-size: 15px; }
.footprint-selection-summary strong { font-size: 20px; font-weight: 600; }
.footprint-selection-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; }
.footprint-selection-actions a { text-decoration: none; color: #305e47; }
.footprint-stage-options { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #627967; }
.footprint-stage-options a { padding: 5px 10px; border: 1px solid #cfddca; border-radius: 16px; text-decoration: none; background: #fffefa; }
@media (max-width: 700px) {
  .footprint-selection { padding: 18px 16px; min-height: 0; grid-template-columns: minmax(0,1fr); gap: 16px; }
  .footprint-selection-main { align-items: start; gap: 12px; }
  .footprint-selection-main > img { width: 76px; height: 76px; }
  .footprint-selection h3 { font-size: 22px; }
  .footprint-selection-summary > p { margin-bottom: 12px; }
}

/* A compact introduction to the full family footprint. */
.family-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0 0; padding: clamp(24px, 4vw, 40px); border: 1px solid #d7dfd5; border-radius: 24px; background: #edf2eb; }
.family-summary h2 { margin: 0 0 14px; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.6; }
.family-summary h2 strong { color: #365e4b; }
.family-summary p { margin: 6px 0 0; color: #607568; line-height: 1.8; }
.family-summary .family-summary-month { color: #365e4b; }
.family-summary-link { flex-shrink: 0; padding: 12px 0; color: #365e4b; font-weight: 600; }
@media (max-width: 640px) {
  .family-summary { align-items: flex-start; flex-direction: column; gap: 12px; border-radius: 20px; }
  .family-summary-link { padding: 8px 0; }
}

.species-reference-card { margin: 12px 0 18px; padding: 16px; border: 1px solid #d8ddc8; border-radius: 14px; background: #f4f3e9; color: #40594a; }
.species-reference-card > p { margin: 8px 0; overflow-wrap: anywhere; }
.species-reference-card > strong, .species-reference-card .species-fact-line { font-size: 17px; }
.species-reference-card a { font-size: 13px; text-decoration: underline; }
.iucn-reference-label { margin: 0 0 10px; color: #786439; font-size: 13px; font-weight: 600; }
.iucn-ladder li.reference { background: #eee5c9; color: #66532c; border: 2px dashed #a58a4e; font-weight: 700; }

/* Sex identification lives with the anatomical categories, not below the diagram. */
.guide-part[value="sex"]:checked ~ .guide-part-panels [data-guide-part="sex"] { display: block; }
.species-identification-guide .guide-part[value="sex"]:checked ~ .guide-bird .guide-extra-sex { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="sex"]:focus-visible ~ .guide-bird .guide-extra-sex { outline: 3px solid #9a7430; outline-offset: 3px; }

/* One anatomical view: sex, age and season remain scoped facts within each part. */
.guide-flat { margin-top: 2rem; }
.guide-flat > h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.guide-flat-panel { background: #e9eee3; border-radius: 18px; padding: 24px; }
.guide-part[value="size"]:checked ~ .guide-part-panels [data-guide-part="size"] { display: block; }
.species-identification-guide .guide-part[value="size"]:checked ~ .guide-bird .guide-extra-size { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="size"]:focus-visible ~ .guide-bird .guide-extra-size { outline: 3px solid #9a7430; outline-offset: 3px; }
.guide-part[value="molt"]:checked ~ .guide-part-panels [data-guide-part="molt"] { display: block; }
.species-identification-guide .guide-part[value="molt"]:checked ~ .guide-bird .guide-extra-molt { background: #2e604c; color: white; border-color: #2e604c; }
.guide-part[value="molt"]:focus-visible ~ .guide-bird .guide-extra-molt { outline: 3px solid #9a7430; outline-offset: 3px; }
@media (max-width: 700px) { .guide-flat-panel { padding: 16px 12px; } }

/* Source qualifications are secondary text, not sex/age headings. */
.guide-fact-scope { display: block; margin-top: .5rem; color: #62776b; font-size: .8em; font-weight: normal; line-height: 1.6; }

.species-identification-guide .guide-generic-scope { display: none; }

/* Protection identity is independent of the IUCN risk ladder. */
.china-protection-line { display: flex; align-items: center; gap: .5rem; position: relative; }
.protection-help { position: static; }
.protection-help > summary { display: grid; place-items: center; list-style: none; width: 1.35rem; height: 1.35rem; border: 1px solid #84988b; border-radius: 50%; color: #506e60; font: 600 .85rem Georgia, serif; cursor: help; }
.protection-help > summary::-webkit-details-marker { display: none; }
.protection-help > summary:focus-visible { outline: 2px solid #295b59; outline-offset: 3px; }
.protection-help-content { display: none; position: absolute; z-index: 12; top: 100%; left: 0; right: 0; padding: .8rem 1rem; background: #fffefa; border: 1px solid #c9d6c9; border-radius: 12px; box-shadow: 0 6px 18px #18382b20; font-size: .85rem; font-weight: 400; line-height: 1.65; }
.protection-help-content p { margin: .3rem 0; }
.protection-help[open] > .protection-help-content { display: block; }
.species-map-info { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; position: relative; margin: 0 0 .75rem; font-size: .85rem; color: #506e60; }
.species-map-source { font-weight: 600; }
.species-map-reference-label { color: #786439; }
.species-map-help .protection-help-content { overflow-wrap: anywhere; }
@media (hover: hover) {
  .protection-help:hover::details-content { content-visibility: visible; }
  .protection-help:hover > .protection-help-content { display: block; }
}

/* Viewing scope shares the existing header; it is not a primary navigation tab. */
.member-scope { flex-shrink: 0; }
.member-scope > summary, .desktop-nav .member-scope > summary { min-height: 44px; padding: 8px 4px; color: #49665a; background: transparent; border: 0; border-radius: 0; font-size: 14px; font-weight: 500; white-space: nowrap; }
.member-scope > summary:focus-visible { outline: 2px solid #49665a; outline-offset: 2px; }
.member-scope .nav-popover a { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #49665a; font-size: 14px; text-decoration: none; }
.member-scope .nav-popover a[aria-current="true"] { background: #edf2eb; font-weight: 650; }
@media (max-width: 780px) {
  .site-header { gap: 8px; }
  .mobile-header-actions .member-scope { margin-right: 4px; }
}
@media (max-width: 360px) {
  .site-header { padding-right: 10px; padding-left: 10px; gap: 4px; }
  .brand { gap: 6px; font-size: 13px; white-space: nowrap; }
  .brand-mark { width: 28px; height: 28px; }
}
