/* Shared Barna, Boorn and Seasons interface. Scoped to the project views. */
[data-hst-explorer]{--lx-ink:#253551;--lx-green:#466448;--lx-border:#ced6cb;color:var(--lx-ink);margin:20px 0 48px;scroll-margin-top:20px}
[data-hst-explorer] [hidden]{display:none!important}
[data-hst-explorer] button,[data-hst-explorer] input,[data-hst-explorer] select{font:inherit;color:inherit}
[data-hst-explorer] button{cursor:pointer;min-height:44px}
[data-hst-explorer] button:focus-visible,[data-hst-explorer] a:focus-visible,[data-hst-explorer] input:focus-visible,[data-hst-explorer] select:focus-visible{outline:3px solid #96763b;outline-offset:3px}
.lx-space{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}
.lx-space button{border:1px solid var(--lx-border);background:#f4f5ee;border-radius:7px;padding:12px 20px}
.lx-space button[aria-pressed=true]{background:var(--lx-ink);color:#fff}
.lx-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px;background:#eef2e8;border-radius:10px;border:1px solid var(--lx-border)}
.lx-filters label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:600;min-width:0}
.lx-filters input,.lx-filters select{box-sizing:border-box;min-height:46px;border:1px solid #aeb8ac;background:#fff;border-radius:5px;padding:9px;width:100%;max-width:100%;font-size:16px}
.lx-filters .lx-search{grid-column:span 2}
.lx-filters>button{border:1px solid var(--lx-ink);border-radius:5px;align-self:end;background:transparent;padding:9px;font-size:.85rem}
.lx-count{font-size:.9rem;line-height:1.65;margin:18px 0 24px}
.lx-catalogue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.lx-card{min-width:0;background:#fff;border:1px solid var(--lx-border);border-radius:10px;overflow:hidden}
.lx-image-button{display:block;width:100%;padding:0;border:0;background:#edf0e8;text-align:left}
.lx-photo{margin:0}.lx-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#f1f3ed}
.lx-card .lx-photo img{height:220px;object-fit:contain}
.lx-photo figcaption{font-size:.75rem;line-height:1.6;padding:12px 0;color:#475449}.lx-photo figcaption span{display:block;margin-top:5px}
.lx-photo-missing{min-height:180px;display:flex;align-items:center;justify-content:center;padding:20px;background:#eff1e9;color:#52604e;font-size:.9rem;text-align:center}
.lx-card-copy{padding:18px}.lx-kicker{font-size:.73rem!important;letter-spacing:.035em;font-weight:600;margin:0 0 10px;text-transform:uppercase}
.lx-card h3{margin:0 0 8px;font-size:1.08rem;line-height:1.5}.lx-card h3 button{border:0;padding:0;background:transparent;text-align:left;font-weight:600;line-height:1.5}
.lx-scientific{font-size:.85rem;margin:0 0 10px}.lx-card-summary{font-size:.87rem;line-height:1.7;margin:12px 0}.lx-card-credit{font-size:.7rem!important;line-height:1.5;color:#52604e;margin-bottom:0}
.lx-card .species-record-brief{font-size:.8rem;overflow-wrap:anywhere}
.lx-pager,.lx-ring-pager{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px;font-size:.8rem}
.lx-pager:empty,.lx-ring-pager:empty{display:none}.lx-pager button,.lx-ring-pager button{background:#f4f5ed;border:1px solid var(--lx-border);padding:8px 12px;border-radius:5px;font-size:.8rem}.lx-pager button:disabled,.lx-ring-pager button:disabled{opacity:.4;cursor:default}
.lx-season-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:30px;align-items:start}
.lx-wheel-panel{min-width:0;position:sticky;top:16px}.lx-wheel svg{width:100%;height:auto;display:block;max-width:620px;margin:auto}.lx-month-label{font-family:Poppins,Arial,sans-serif;font-size:15px;fill:#253551}.lx-centre-label{font-family:Poppins,Arial,sans-serif;font-size:21px;font-weight:600;fill:#253551}
.lx-season-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.lx-season-buttons button{border:1px solid var(--lx-border);background:#f4f5ed;border-radius:5px;padding:8px 4px;font-size:.83rem}.lx-season-buttons button[aria-pressed=true]{background:#253551;color:#fff}
.lx-ring-key{display:grid;gap:6px}.lx-ring-key button{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;border:0;border-bottom:1px solid #dce1d8;padding:8px 4px}.lx-ring-key small{display:block;font-size:.72rem;line-height:1.6;color:#53614f}.lx-ring-number{display:flex;align-items:center;justify-content:center;background:#253551;color:#fff;border-radius:50%;width:26px;height:26px;flex-shrink:0;font-size:.8rem}.lx-ring-key span:not(.lx-ring-number){font-size:.88rem;line-height:1.5}
.lx-wheel-note{font-size:.8rem;line-height:1.75;color:#53614f;margin:20px 0}
.lx-profile-list>h2{font-size:1.25rem;margin:0 0 18px}.lx-profile-list .lx-results{display:grid;gap:16px}.lx-profile-list .lx-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.lx-profile-list .lx-card .lx-photo img{height:135px}.lx-profile-list .lx-card-copy{padding:13px}.lx-profile-list .lx-image-button{align-self:start}.lx-profile-list .lx-card h3{font-size:.93rem}.lx-profile-list .lx-card-summary{font-size:.78rem}.lx-profile-list .lx-card-credit{font-size:.68rem!important}
.lx-untimed{border-top:2px solid #d2d9cb;margin-top:40px;padding:28px 0}.lx-untimed h2{font-size:1.4rem}.lx-untimed-note{max-width:850px;font-size:.95rem;line-height:1.8}.lx-untimed summary{font-weight:600;padding:16px 0;cursor:pointer;min-height:44px}.lx-untimed-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lx-untimed-results article{padding:12px;border-bottom:1px solid var(--lx-border);min-width:0}.lx-untimed-results button{border:0;background:transparent;text-align:left;font-weight:600;font-size:.85rem}.lx-untimed-results span{display:block;font-size:.8rem}
.lx-wheel-empty,.lx-empty{padding:25px;background:#f3f5ee;border-radius:8px;line-height:1.8}
.lx-dialog{box-sizing:border-box;border:1px solid #aeb8ac;border-radius:12px;padding:24px 30px;width:min(880px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:88vh;color:var(--lx-ink);background:#fffdf8;overscroll-behavior:contain}.lx-dialog::backdrop{background:rgba(20,34,38,.65)}.lx-close{position:sticky;top:0;float:right;z-index:1;background:#253551;color:#fff!important;border:0;border-radius:50%;width:44px;height:44px;font-size:28px!important}.lx-profile{clear:both}.lx-profile h2{font-size:1.8rem;line-height:1.4;margin:12px 0}.lx-profile h3{font-size:1.2rem;margin-top:28px}.lx-profile h4{font-size:1rem}.lx-profile p,.lx-profile li{font-size:.96rem;line-height:1.8;overflow-wrap:anywhere}.lx-profile .lx-photo{margin:22px 0}.lx-profile .lx-photo img{max-height:400px}
.lx-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#f0f3e9;padding:18px}.lx-facts dt{font-size:.8rem;font-weight:600}.lx-facts dd{margin:5px 0;font-size:.95rem;overflow-wrap:anywhere}.lx-source-links{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:.85rem;line-height:1.8}.lx-profile-seasons{border-top:1px solid var(--lx-border);margin-top:26px}.lx-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lx-timeline section{border:1px solid #d7dfcf;padding:12px;border-radius:6px}.lx-timeline h4{margin:0 0 5px}.lx-timeline small{font-size:.75rem}.lx-timeline p{font-size:.83rem;margin:9px 0 0}
.hst-wac .site-header.project-header nav{display:flex;flex-wrap:wrap;gap:8px 22px}.hst-wac .site-header.project-header nav>a{white-space:nowrap}
.hst-wac .barna-opening-compact,.hst-wac .boorn-opening-compact{padding-top:30px;padding-bottom:12px;margin-bottom:10px}
@media(max-width:1050px){.lx-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.lx-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}.lx-season-layout{grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:18px}.lx-profile-list .lx-card{display:block}.lx-profile-list .lx-card .lx-photo img{height:160px}.lx-untimed-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.lx-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.lx-season-layout{grid-template-columns:1fr}.lx-wheel-panel{position:static}.lx-month-label{font-size:18px}.lx-profile-list .lx-card{display:grid;grid-template-columns:100px minmax(0,1fr)}.lx-profile-list .lx-card .lx-photo img{height:120px}.lx-profile-list>h2{margin-top:24px}.lx-dialog{padding:14px 18px}.lx-dialog h2{font-size:1.4rem}.lx-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.lx-profile .bird-ebird-grid{grid-template-columns:1fr}.lx-pager,.lx-ring-pager{flex-wrap:wrap;justify-content:center}.lx-untimed-results{grid-template-columns:1fr}}
@media(max-width:480px){.lx-filters{grid-template-columns:1fr}.lx-filters .lx-search{grid-column:span 1}.lx-catalogue{grid-template-columns:1fr}.lx-facts{grid-template-columns:1fr}.lx-profile-list .lx-card{display:block}.lx-profile-list .lx-card .lx-photo img{height:180px}}
@media(prefers-reduced-motion:reduce){[data-hst-explorer] *{scroll-behavior:auto!important}}

.hst-wac .seasons-opening-compact{padding-top:24px;padding-bottom:10px;gap:26px;align-items:start}.hst-wac .seasons-opening-compact h1{font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.25;margin:8px 0}.hst-wac .seasons-opening-compact .eyebrow{margin-top:0}.hst-wac .seasons-opening-compact .source-note{margin:8px 0;font-size:.75rem}.hst-wac .seasons-opening-compact .source-links{margin-top:10px;font-size:.8rem}.hst-wac .seasons-opening-compact .seasons-opening-copy>p:first-child{margin-top:0;font-size:.95rem;line-height:1.65}

.lx-jump-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin:0 0 18px;font-size:.85rem}.lx-jump-links a{padding:8px 0}#lx-wheel-panel,#lx-profile-list,#lx-untimed{scroll-margin-top:20px}

/* HST flora profile layout, scoped to the flora heading and evidence. */
.hst-flora-heading .lx-kicker {
  font-size: .66rem; line-height: 1.5; letter-spacing: .09em;
  text-transform: none; margin: 0 0 .55rem; font-weight: 600;
}
.hst-flora-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: .8rem; width: 100%;
}
.hst-flora-title-row h2, .hst-flora-title-row h3 {
  flex: 1 1 auto; margin: 0; min-width: 0; overflow-wrap: anywhere;
}
.hst-flora-title-row .hst-flora-status {
  flex: 0 1 38%; margin: .15rem 0 0; text-align: right;
  font-size: .7rem; line-height: 1.45; color: #6a3d21;
}
.hst-flora-heading .lx-scientific { margin: .45rem 0 .65rem; }
.hst-flora-heading .hst-flora-origin { margin: .35rem 0; }
.hst-flora-review h4 { font-size: 1rem; margin-bottom: .45rem; }
.hst-flora-record-note, .hst-flora-source-note { font-size: .8rem; line-height: 1.65; }
.hst-flora-source-note { margin: .6rem 0; overflow-wrap: anywhere; }
.hst-flora-spaces { margin: 0 0 1.3rem; }
.hst-flora-spaces[hidden] { display: none; }
.hst-flora-space-buttons { display: flex; flex-wrap: wrap; gap: .65rem; }
.hst-flora-space-buttons button {
  flex: 1 1 15rem; min-height: 3rem; padding: .8rem 1rem;
  border: 1px solid #b7c2ae; border-radius: .4rem; background: #f1f4ed;
  color: #163e31; font: inherit; line-height: 1.5; text-align: left; cursor: pointer;
}
.hst-flora-space-buttons button[aria-pressed="true"] { background: #254d3b; border-color: #254d3b; color: #fff; font-weight: 600; }
.hst-flora-space-buttons button:focus-visible { outline: 3px solid #9b7729; outline-offset: 3px; }
.hst-flora-space-note { max-width: 75ch; margin: .7rem 0 0; font-size: .85rem; line-height: 1.7; }
.hst-flora-confirmation { margin: .65rem 0; padding: .45rem .6rem; background: #f6f0df; border-left: 3px solid #9b7729; font-size: .76rem; line-height: 1.6; }
.lx-profile .hst-flora-title-row { gap: 1.5rem; }
.lx-profile .hst-flora-status { font-size: .84rem; }
@media (max-width: 480px) {
  .hst-flora-title-row { gap: .65rem; }
  .hst-flora-title-row .hst-flora-status { flex-basis: 34%; font-size: .65rem; }
  .lx-profile .hst-flora-title-row { gap: .8rem; }
}
