/* Barkers Creek: Clear air. Matches design-reference/; tokens from the build specification. */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-standard-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  --bg: #FFFFFF; --band: #F3F5F2; --photo-band: #E9EBE8; --viewer: #0F1110;
  --text: #18201C; --muted: #3D4641; --caption: #56605A; --accent: #245A46; --accent-dark: #163A2D;
  --rule: #D5DAD3; --rule-soft: #E2E6E1; --empty: #DDD8CC;
  --sans: "Instrument Sans", Arial, sans-serif; --serif: "Newsreader", Georgia, serif;
  --gutter: 56px; --max: 1440px;
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.6 }
img { display: block; max-width: 100%; height: auto }
a { color: var(--accent) } a:hover { color: var(--accent-dark) }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: -9999px; top: 8px } .skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 10 }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter) }
.sci { font-family: var(--serif); font-style: italic }
.muted { color: var(--caption) }
.placeholder { color: var(--caption); background: var(--band); padding: 2px 6px }
.draft-flag { display: inline-block; font-size: 13px; font-weight: 600; color: #8A3B12; border: 1px solid #E3C7B5; border-radius: 999px; padding: 0 10px; margin-left: 8px; vertical-align: middle }

/* Header and navigation: always above the photograph, on white */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px }
.brand { text-decoration: none; color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -0.01em }
.brand:hover { color: var(--text) }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 500 }
.nav a { color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent); text-decoration-thickness: 2px }
.share-pill { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 18px; border: 1.5px solid var(--text); border-radius: 999px; margin-left: -6px }
.share-pill:hover { text-decoration: underline; text-underline-offset: 5px }
.site-header .nav { margin-left: auto }
/* Phones: the name and Share on the first row, the sections on one row that swipes sideways. */
@media (max-width: 600px) {
  .site-header { gap: 4px 16px; padding-top: 14px; padding-bottom: 10px }
  .site-header .share-pill { margin-left: auto; order: 2 }
  .site-header .nav { order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; gap: 22px; margin: 0 calc(-1 * var(--gutter)); padding: 0 56px 0 var(--gutter);
    scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent) }
  .site-header .nav::-webkit-scrollbar { display: none }
  .site-header .nav a { flex: none; white-space: nowrap }
}
.nav .search-link svg { display: block }

/* Hero: full bleed, nothing laid over it; caption below */
.hero { height: 640px; overflow: hidden; background: var(--empty) }
.hero.home { height: 720px }
.hero img { width: 100%; height: 100%; object-fit: cover }
.clip { margin: 0 }
.clip video { display: block; width: 100%; height: auto; max-height: 80vh; background: var(--empty) }
.hero-caption { padding-top: 14px; font-size: 13px; color: var(--caption) }

/* Headings and type */
h1, h2, h3 { font-weight: 600 }
.crumbs { margin: 0 0 14px; font-size: 15px; color: var(--caption) }
.title { margin: 0; font-size: 96px; line-height: 0.95; letter-spacing: -0.035em }
.title.home { font-size: 104px }
.title.species { font-size: 88px }
.tagline { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.3; color: var(--accent) }
.lede { margin: 18px 0 0; font-size: 22px; line-height: 1.45; color: var(--muted) }
.intro-text { margin: 0; font-size: 20px; line-height: 1.55; max-width: 30em }
.statement { margin: 0 0 40px; font-size: 36px; line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; max-width: 22em }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 40px; margin-bottom: 28px }
.section-head h2, h2.section { margin: 0; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em }
h2.section { margin-bottom: 28px }
.section-head a { font-size: 16px; font-weight: 600 }
h2.small { margin: 0 0 16px; font-size: 32px; line-height: 1.15; letter-spacing: -0.015em }
.prose { max-width: 36em }
.prose h2 { margin: 0 0 10px; font-size: 26px; letter-spacing: -0.01em }
.prose p { margin: 0 0 32px }
.prose .opening { font-size: 22px; line-height: 1.5; margin-bottom: 36px }
.note-box { margin: 0; padding: 16px 20px; background: var(--band); font-size: 16px; line-height: 1.55 }

/* Spacing between sections */
.s-top { padding-top: 64px } .s-mid { padding-top: 104px } .s-big { padding-top: 120px }
.band { margin-top: 112px; background: var(--band) }
.band > .wrap { padding-top: 80px; padding-bottom: 80px }

/* Two-column layouts */
.split { display: grid; gap: 32px 72px; align-items: start }
.split.intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) }
/* Long one-word names ("Recreational") must fit the narrower intro column at laptop widths. */
@media (min-width: 901px) { .split.intro .title { font-size: min(96px, 6.6vw) } }
.split.intro .title { overflow-wrap: break-word }
.split.home-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end }
.split.article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 80px }
.split.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px }

/* The record so far: large figures in the accent green between thin rules */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule) }
.stats > div { padding: 28px 24px 0 0 }
.stats .n { margin: 0; font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--accent) }
.stats.small .n { font-size: 48px }
.stats .l { margin: 10px 0 0; font-size: 16px; color: var(--caption) }

/* Cards and grids (only these crop, centred on the focus point) */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px }
.grid6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px }
.card { display: block; text-decoration: none; color: var(--text) }
.card:hover { color: var(--text) } .card:hover .card-title { text-decoration: underline; text-underline-offset: 4px }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--empty) }
.card.square img { aspect-ratio: 1 / 1 }
.card.name-only { border-top: 1px solid var(--rule); padding-top: 4px }
.card.name-only .card-title { margin-top: 10px }
.card-title { margin: 12px 0 2px; font-size: 19px; font-weight: 600; line-height: 1.3 }
.card.square .card-title { margin-top: 10px; font-size: 16px; font-weight: 500 }
.card-sub { font-size: 15px; color: var(--muted) }
.list { border-top: 1px solid var(--rule) }
.list > * { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule) }
.list img { width: 120px; aspect-ratio: 3 / 2; object-fit: cover; flex: none }
.list .card-title { margin: 0 }

/* Galleries: justified rows, every photograph keeps its natural shape */
.rows { display: flex; flex-direction: column; gap: 12px }
.row { display: flex; gap: 12px }
.row figure { margin: 0; min-width: 0 }
.row img { width: 100%; height: auto; background: var(--empty) }
.row figcaption { margin-top: 8px; font-size: 13px; color: var(--caption) }
.row a { display: block }

/* Photograph page */
.photo-nav { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 15px; font-weight: 500 }
.photo-nav a { display: inline-flex; align-items: center; min-height: 44px }
.photo-band { background: var(--photo-band); padding: 48px 0 }
.photo-band img { margin: 0 auto; max-height: 86vh; width: auto }
.photo-title { margin: 0; font-size: 48px; line-height: 1.05; letter-spacing: -0.025em }
.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; font-size: 16px; line-height: 1.5; border-top: 1px solid var(--rule); padding-top: 20px }
.claim-note { margin: 32px 0 0; font-size: 15px; line-height: 1.5 }
.facts dt { color: var(--caption) } .facts dd { margin: 0 }
.button-outline { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--text); border-radius: 999px; background: transparent; font: inherit; font-weight: 500; cursor: pointer; color: var(--text) }

/* Species aside */
.aside { display: flex; flex-direction: column; gap: 40px }
.aside h2 { margin: 0 0 10px; font-size: 18px }
.aside p { margin: 0; font-size: 17px }
.months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; font-size: 12px; text-align: center; color: var(--muted) }
.months span[aria-hidden] { display: block; height: 28px; border: 1px solid #C9D0C8 }
.months .on { font-weight: 600; color: var(--text) } .months .on span[aria-hidden] { background: var(--accent); border-color: var(--accent) }

/* Other places along the creek */
.along { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding-top: 32px; border-top: 1px solid var(--rule) }
.along h2 { margin: 0; font-size: 22px }
.along nav { display: flex; flex-wrap: wrap; gap: 8px 24px }

/* Map */
.map { background: var(--band); border: 1px solid var(--rule) }
.map.leaflet-container { height: 560px } .map.small.leaflet-container { height: 400px }
.svg-map { display: block; width: 100%; height: 640px }
@media (max-width: 900px) { .svg-map { height: auto } }
.svg-map .loc { fill: #245A46; fill-opacity: 0.07; stroke: #245A46; stroke-width: 1.5 }
.svg-map a:hover .loc, .svg-map a:focus .loc { fill-opacity: 0.2 }
.svg-map .loc.here { fill-opacity: 0.22; stroke-width: 3 }
.svg-map .creek { fill: none; stroke: #2F6FA3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round }
.svg-map .site { fill: #18201C; stroke: #fff; stroke-width: 2 }
.svg-map .label { font-family: var(--sans); font-size: 26px; font-weight: 600; fill: var(--text); text-anchor: middle;
  dominant-baseline: middle; paint-order: stroke; stroke: #F3F5F2; stroke-width: 6px; stroke-linejoin: round }
.map-svg { background: #fff; border: 1px solid var(--rule) }
.leaflet-tooltip.loc-label { background: transparent; border: 0; box-shadow: none; font-weight: 600; font-size: 14px;
  color: var(--text); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff }
.leaflet-tooltip.loc-label::before { display: none }
.map-fallback { padding: 24px; color: var(--caption); font-size: 16px }
.leaflet-container { font-family: var(--sans) }

/* Filters (species guide, stories) */
.filters { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 32px; font-size: 16px }
.filters label { display: flex; flex-direction: column; gap: 6px; font-weight: 600 }
.filters select { min-height: 48px; padding: 0 12px; border: 1px solid #B9C1B8; border-radius: 6px; font: inherit; background: #fff }

/* Footer */
.site-footer { padding-top: 96px; padding-bottom: 64px; font-size: 14px; color: var(--caption) }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px }
.site-footer p { margin: 0 0 4px }

/* Search (Pagefind) */
.pagefind-ui { --pagefind-ui-font: var(--sans); --pagefind-ui-primary: var(--accent); --pagefind-ui-text: var(--text); --pagefind-ui-border: #B9C1B8; --pagefind-ui-border-radius: 6px }

/* Full-screen viewer: near-black, fitted, never cropped */
.viewer { position: fixed; inset: 0; z-index: 1000; background: var(--viewer); color: #E9EDEA; display: grid; grid-template-rows: 64px minmax(0, 1fr) 64px; font-family: var(--sans) }
.viewer[hidden] { display: none }
.viewer a { color: #FFFFFF } .viewer a:hover { color: #D7E6DD }
.viewer :focus-visible { outline: 3px solid #8FC3A8; outline-offset: 3px }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px }
.viewer-count { font-size: 14px; color: #A9B2AD }
.viewer-close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #4A524D; border-radius: 999px; background: transparent; color: #E9EDEA; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer }
.viewer-stage { display: grid; grid-template-columns: 88px minmax(0, 1fr) 88px; align-items: center; min-height: 0 }
.viewer-stage button { justify-self: center; width: 56px; height: 56px; border: 1px solid #4A524D; border-radius: 999px; background: transparent; color: #E9EDEA; cursor: pointer; display: flex; align-items: center; justify-content: center }
.viewer-stage button[hidden] { display: flex; visibility: hidden }
.viewer-img { height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center }
.viewer-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain }
.viewer-bottom { font-size: 15px }
.viewer-bottom .t { font-weight: 600 } .viewer-bottom .m { color: #A9B2AD }
body.viewing { overflow: hidden }

@media (max-width: 900px) {
  :root { --gutter: 24px }
  .stats, .grid4, .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .split.intro, .split.home-intro, .split.article, .split.halves { grid-template-columns: minmax(0, 1fr) }
  .title, .title.home, .title.species { font-size: 56px }
  .hero, .hero.home { height: 420px }
  .statement { font-size: 28px }
  .section-head h2, h2.section { font-size: 32px }
  .photo-title { font-size: 36px }
  .viewer-stage { grid-template-columns: 56px minmax(0, 1fr) 56px }
  .viewer-stage button { width: 44px; height: 44px }
}
@media (max-width: 600px) {
  .row { flex-direction: column }
  .row figure { flex: none !important; width: 100% }
  .title, .title.home, .title.species { font-size: 44px }
  .viewer-bottom .m { display: none }
}

/* Forms: the Share page and the editor's area */
.form { display: flex; flex-direction: column; gap: 10px; font-size: 17px }
.form label { font-weight: 600 }
.form input[type=email], .form input[type=text], .form input:not([type]), .form input[type=date], .form select, .form textarea {
  min-height: 48px; padding: 0 14px; border: 1px solid #B9C1B8; border-radius: 6px; font: inherit; background: #fff; max-width: 34em }
.form fieldset { border: 0; padding: 0; margin: 10px 0 0 } .form legend { font-weight: 600; margin-bottom: 6px }
.form .check { font-weight: 400; display: flex; gap: 10px; align-items: center; min-height: 44px }
.form .check input { width: 20px; height: 20px }
.form .permission { align-items: flex-start; margin-top: 12px } .form .permission input { margin-top: 4px }
.button { align-self: flex-start; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent);
  color: #fff; font: inherit; font-weight: 600; cursor: pointer; margin-top: 8px }
.button:disabled { background: #9AA59F; cursor: default }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; min-height: 44px }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.drop { border: 2px dashed #B9C1B8; border-radius: 10px; padding: 24px; margin-top: 18px; background: var(--band); cursor: pointer }
.drop.over { border-color: var(--accent); background: #E8EFEA }
.drop p { margin: 0 0 6px }
.chosen { margin: 6px 0 0; padding-left: 22px; font-size: 16px }
.chosen li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft) }
.chosen li.sent .state { color: var(--accent) } .chosen li.failed .state { color: #8A3B12 }
.chosen details { margin: 4px 0 0 } .chosen details label { display: flex; flex-direction: column; gap: 4px; font-weight: 400; margin: 6px 0 }
.warn { color: #8A3B12 }

/* The queue */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px }
.qcard { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #fff }
.qcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--photo-band) }
.qcard.decided { opacity: 0.6 }
/* Focus points: the photo keeps its own shape so a click lands where it looks. */
.focus-box { position: relative; display: inline-block; line-height: 0; max-width: 100% }
.qcard .focus-box { display: block }
.focus-box img { display: block; height: auto; aspect-ratio: auto }
.focus-mark { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55); pointer-events: none }
.focus-mark.set { border-color: var(--accent) }
.qbody { padding: 14px 16px 16px }
.qtitle { margin: 0; font-size: 19px; font-weight: 600 } .qtitle .sci { font-size: 16px; margin-left: 6px; font-weight: 400 }
.qsmall { margin: 6px 0 0; font-size: 15px; line-height: 1.45 }
.qactions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px }
.qactions .button { margin-top: 0 }
.qfix { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-size: 15px }
.qfix label { display: flex; flex-direction: column; gap: 4px; font-weight: 600 }
.qfix select, .qfix input { min-height: 44px; padding: 0 10px; border: 1px solid #B9C1B8; border-radius: 6px; font: inherit; background: #fff }
.qdone { margin: 12px 0 0; font-weight: 600; color: var(--accent) }
.approve-all .button { margin-top: 0 }

/* Gallery order choice */
.order { display: flex; gap: 8px; margin: -8px 0 20px; font-size: 15px }
.order-btn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--rule); border-radius: 999px; background: #fff;
  font: inherit; font-weight: 500; color: var(--text); cursor: pointer }
.order-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff }

/* Editor screens, business pages, comments */
.editor-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; padding-bottom: 6px; font-size: 15px; font-weight: 600;
  border-bottom: 1px solid var(--rule) }
.editor-nav a { color: var(--text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.editor-nav .publish-now { margin-left: auto; display: flex; align-items: center; font-weight: 500 }
.editor-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 20px }
.item { border: 1px solid var(--rule); border-radius: 8px; padding: 16px }
.item.decided { opacity: 0.6 }
.item.with-photos { grid-column: 1 / -1 }
.item-themes { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 18px; width: 100% }
.item-themes legend { font-weight: 600; margin-bottom: 2px }
.item-themes .check { display: flex; gap: 8px; align-items: center; min-height: 40px; font-size: 15px }
.item-themes .check input { width: 18px; height: 18px }
.story-photos { margin-top: 12px }
.post-photo { display: flex; flex-direction: column; gap: 8px; margin-top: 6px }
.post-thumb { width: 200px; height: auto; border-radius: 4px }
.item-poster { display: block; max-width: 100%; max-height: 420px; width: auto; border: 1px solid var(--rule) }
.item-text { margin-top: 10px; padding: 10px 12px; background: var(--band); font-size: 15px; max-height: 260px; overflow: auto }
.qactions .item-notes, .qactions > label { flex-basis: 100% }
.item-notes { display: block; width: 100%; margin: 6px 0 10px; font: inherit; font-size: 16px; line-height: 1.5; padding: 10px 12px }
.photo-pick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px }
.photo-pick .check { flex-direction: column; align-items: flex-start; gap: 4px }
.photo-pick img { border-radius: 4px }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) }
.slot { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--rule) }
.slot-empty { width: 240px; aspect-ratio: 3 / 2; background: var(--band); display: flex; align-items: center; justify-content: center; color: var(--caption); font-size: 14px }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px }
.snippet { width: 100%; max-width: 40em; font-family: ui-monospace, Menlo, monospace; font-size: 14px; padding: 10px; border: 1px solid var(--rule); border-radius: 6px }
.report { padding-left: 20px } .report li { margin: 6px 0 }
.diff { margin: 6px 0 0; font-size: 15px } .diff dt { color: var(--caption) } .diff dd { margin: 0 0 6px }
.diff del { color: #8A3B12 } .diff ins { color: var(--accent); text-decoration: none }
.writing { border-top: 1px solid var(--rule); padding: 12px 0 } .writing summary { cursor: pointer; font-size: 17px; min-height: 32px }
.writing textarea { width: 100%; max-width: 40em; padding: 10px 12px; border: 1px solid #B9C1B8; border-radius: 6px; font: inherit; font-size: 16px }
.status { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 0 10px; margin-right: 6px }
.status-missing { color: #8A3B12; border: 1px solid #E3C7B5 } .status-drafted { color: #6B5A12; border: 1px solid #E3DAB5 }
.status-approved { color: var(--accent); border: 1px solid #B9D3C6 }
.comments { max-width: 40em; border-top: 1px solid var(--rule); padding-top: 40px }
.comments h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.015em }
.comment { padding: 16px 0; border-top: 1px solid var(--rule-soft) } .comment p { margin: 0 } .comment .who { font-size: 15px; color: var(--caption); margin-top: 6px }
.comments .form textarea { padding: 12px 14px }
@media (max-width: 900px) { .slot { grid-template-columns: 1fr } }
.biz-photo { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rule) }
.biz-photo img { border-radius: 4px; width: 160px; height: auto }
.biz-photo > div { display: flex; flex-direction: column; gap: 6px; min-width: 0 }
.biz-photo input:not([type]) { width: 100% }
.biz-photo-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 8px }
.biz-replace-label { display: inline-flex; align-items: center; position: relative }
.biz-replace-label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px }
@media (max-width: 600px) { .biz-photo { grid-template-columns: 1fr } }
.news-item { display: block }
.news-item.has-photo { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start }
.news-item img { width: 100%; height: auto; border-radius: 4px }
@media (max-width: 600px) { .news-item.has-photo { grid-template-columns: 1fr } }
.signed-in { padding-top: 12px; font-size: 15px; color: var(--muted) }
.signed-in form { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: flex-end }
.signed-in strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere }
.signed-in .link-button { min-height: 32px }
.map-credit { margin: 8px 0 0; font-size: 13px; color: var(--caption) }
.map-credit a { color: var(--caption) }
/* The Share pages: one task per page, built for a phone first. One column, big buttons. */
.task { max-width: 720px; margin-left: 0; padding-top: 40px; padding-bottom: 72px }
.task-title { font-size: 56px }
.task .lede { margin-bottom: 8px }
.task .note-box { margin: 20px 0 }
.task-form { margin-top: 24px; font-size: 18px }
.task-form input:not([type=checkbox]):not([type=radio]), .task-form select, .task-form textarea { width: 100%; max-width: none; font-size: 18px }
.task-form textarea { padding: 12px 14px }
.poster-form { padding-bottom: 32px; border-bottom: 1px solid var(--rule) }
.task-form fieldset { margin-top: 18px }
.task-form .help { margin: -4px 0 4px; font-size: 16px; color: var(--caption) }
.task-form .check { min-height: 48px }
.task-form .check input { width: 24px; height: 24px; flex: none }
.button.big, .button-outline.big { min-height: 56px; padding: 0 28px; font-size: 19px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none }
.button-outline.big { margin-top: 8px; font-weight: 600 }
a.button { display: inline-flex; align-items: center; text-decoration: none }
.task-buttons { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px }
.step-mark { margin: 8px 0 0; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent) }
.step-title { margin: 4px 0 8px; font-size: 30px; line-height: 1.15 }
.step-title:focus { outline: none }
.step .back { align-self: flex-start; margin-top: 4px }
.choices { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px }
.choice { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1.5px solid var(--rule); border-radius: 12px;
  color: var(--text); text-decoration: none; background: #fff }
.choice:hover { border-color: var(--accent); color: var(--text); background: var(--band) }
.choice strong { font-size: 26px; line-height: 1.2; color: var(--accent) }
.choice span { font-size: 17px; color: var(--muted) }
.more { list-style: none; margin: 32px 0 0; padding: 0; font-size: 17px; color: var(--muted) }
.more li { padding: 10px 0; border-top: 1px solid var(--rule-soft) }
.more a, .more-line a, .small-links a { display: inline-block; min-height: 44px; line-height: 44px }
.more-line { margin: 24px 0 0; font-size: 17px }
.small-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 40px 0 0; font-size: 16px }
.task .drop { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; cursor: default }
.task .drop .button { margin-top: 0 }
.drop-hint { margin: 6px 0 0 }
@media (hover: none) { .drop-hint { display: none } }
.described { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px }
.described li { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--rule-soft) }
.described label { display: flex; flex-direction: column; gap: 4px }
.task-form select, .task-form input, .task-form textarea { font-weight: 400 }
.task-form .muted { font-weight: 400 }
.described .thumb { max-width: 320px; font-size: 15px; color: var(--caption); overflow-wrap: anywhere }
.described .thumb img { border-radius: 6px; max-height: 240px; width: auto }
.task .photo-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px }
.task .photo-pick .check { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: 8px }
.task .photo-pick img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px }
.mine { list-style: none; margin: 28px 0 0; padding: 0 }
.mine li { display: grid; grid-template-columns: 72px 1fr; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule-soft) }
.mine-pic { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; grid-row: span 2 }
.story-pic { display: flex; align-items: center; justify-content: center; background: var(--band); font-size: 14px; font-weight: 600; color: var(--caption) }
.mine-what { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere }
.mine-what .muted { font-size: 15px }
.mine-state { font-size: 16px; font-weight: 600 }
.mine-state.waiting { color: #7A5A00 } .mine-state.unused { color: var(--caption) }
.mine-state a { display: inline-block; min-height: 44px; line-height: 44px }
@media (max-width: 600px) {
  .task { padding-top: 24px }
  .task-title { font-size: 40px }
  .step-title { font-size: 26px }
  .button.big, .button-outline.big { width: 100% }
  .task-buttons { flex-direction: column }
}

/* Hidden means hidden, even where a display rule above would show it (the queue's Fix
   forms, and parts of forms that appear only when needed). Kept last so it wins. */
.qfix[hidden], .form [hidden], .post-photo [hidden], .item [hidden], .step[hidden], .task [hidden] { display: none }
.recovery-codes { columns: 2; max-width: 420px; padding-left: 24px; font: 600 20px/1.8 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.04em }
.preview-strip { margin: 0; padding: 6px 16px; background: #FFF4D6; color: #5A4300; font-size: 14px; text-align: center; border-bottom: 1px solid #E8D7A0 }
.links-out { margin: 0; padding-left: 20px } .links-out li { margin: 4px 0 }

/* "How to join in": plain words, bigger type, numbered steps easy to follow */
.plain-words { font-size: 21px; line-height: 1.6; max-width: 34em }
.plain-words h3 { margin-top: 28px }
.plain-words ol.steps { padding-left: 1.6em }
.plain-words ol.steps li { margin: 0 0 12px; padding-left: 6px }
.plain-words a { word-break: break-word }

/* The page's Share button (site.js) */
.share-line { margin: 20px 0 0 }
.facts .share-line { margin: -10px 0 0 }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }

/* Your Barkers Creek (/share/mine/): the contributor's own list, quiet and plain */
.record { margin: 40px 0 48px }
.record h3 { margin: 32px 0 10px; font-size: 18px; font-weight: 600 }
.record-list { list-style: none; margin: 0; padding: 0 }
.record-list li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft) }
.record-list .muted { font-size: 15px; margin-left: 6px }
/* The Wanted list (item 19) */
.wanted-list { list-style: none; margin: 0 0 16px; padding: 0 }
.wanted-list li { padding: 8px 0; border-bottom: 1px solid var(--rule-soft) }
.wanted-list .found { font-size: 15px; margin-left: 6px }
.wanted .muted { margin: 8px 0 0 }
.wanted-care { font-size: 15px; margin-top: 16px }
/* Your year on the creek (item 20) */
.year-pick { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 24px }
.year-pick strong { border-bottom: 2px solid currentColor }
/* Night skies: Worth watching, month by month (skymonth.py): this month open, the rest a click away */
.sky-months > * { max-width: 46em }
.sky-month { border-top: 1px solid var(--rule) }
.sky-month.first { border-top: 0; margin-bottom: 16px }
.sky-month h3 { margin: 0 0 10px; font-size: 20px }
.sky-month summary { cursor: pointer; min-height: 48px; line-height: 48px; font-size: 18px; font-weight: 600; color: var(--accent) }
.sky-month ul { margin: 0 0 20px; padding-left: 20px }
.sky-month li { margin: 0 0 6px }
.night-now .night-dark { max-width: 30em; margin: 0 0 40px }
.night-now p { margin: 0 0 12px; max-width: 34em }
.night-now .muted { font-size: 15px }
.plain-list { list-style: none; padding: 0; margin: 0 0 12px }
.plain-list li { padding: 8px 0; border-top: 1px solid var(--rule) }
.yours { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 8px 0 28px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 17px }
.yours a { display: inline-block; min-height: 44px; line-height: 44px }
.mine-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 24px 0 }
.mine-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block }
.item .flag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 13px; background: var(--band); border: 1px solid var(--rule); color: var(--text) }
/* Sighted in the region: one roomy row per species; tap to see its records */
.sighted-intro { max-width: 40em; margin: 16px 0 0; font-size: 18px; line-height: 1.6 }
.sighted-note { max-width: 46em; margin-top: 20px }
.sighted { list-style: none; margin: 0; padding: 0; max-width: 52em }
.sighted > li { border-top: 1px solid var(--rule) }
.sighted > li:last-child { border-bottom: 1px solid var(--rule) }
.sighted summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 18px 0; cursor: pointer; list-style: none }
.sighted summary::-webkit-details-marker { display: none }
.sighted-name { font-size: 20px; font-weight: 600; color: var(--text) }
.sighted-group { font-size: 15px; font-weight: 400; color: var(--caption); margin-left: 6px }
.sighted-count { font-size: 16px; color: var(--accent); text-align: right; white-space: nowrap }
.sighted-last { grid-column: 1 / -1; font-size: 16px; color: var(--caption) }
.sighted details[open] summary .sighted-title { color: var(--accent) }
.sighted-more { padding: 0 0 22px }
.sighted-links { margin: 0 0 12px; font-size: 16px }
.sighted-records { list-style: none; margin: 0; padding: 0 }
.sighted-records li { padding: 8px 0; font-size: 16px; line-height: 1.5; border-top: 1px solid var(--rule-soft) }
.sighted-records .when { color: var(--muted) }
.sighted-comment { display: block; color: var(--muted); font-style: italic }
@media (max-width: 640px) {
  .sighted summary { grid-template-columns: 1fr }
  .sighted-count { text-align: left }
}
/* Sighted in the region form: each species with its comment, as a pair */
.si-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--rule-soft) }
.si-row:first-of-type { border-top: 0 }
.si-row label { margin: 0 }
.si-row label > span { display: block; margin-bottom: 4px }
.si-row select, .si-row input { margin: 0; width: 100% }
.si-row .si-text, .si-row .si-comment { grid-column: 1 / -1 }
.si-row [hidden] { display: none }
#si-more { margin-top: 10px }
@media (max-width: 640px) { .si-row { grid-template-columns: 1fr; padding: 14px 0 } }
