*{box-sizing:border-box}body{margin:0;background:#f7f3e8;color:#20251f;font-family:Arial,sans-serif;line-height:1.5}
header{padding:18px 6%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d8d1bd;background:#f7f3e8}
.brand{font-size:22px;font-weight:800}.sub{display:block;font-size:11px;font-weight:400;color:#666}
nav a{margin-left:20px;color:#263a2a;text-decoration:none;font-size:13px;font-weight:bold}
.hero{padding:75px 7%;background:linear-gradient(135deg,#f7f3e8,#eee1bd);display:grid;grid-template-columns:1.2fr .8fr;align-items:center}
.hero h1{font-family:Georgia,serif;font-size:64px;line-height:1;margin:8px 0 20px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:bold;color:#8b6a16}
.hero p{max-width:620px;font-size:18px}.hero-bee{text-align:center;font-size:130px}
section{padding:65px 7%}h2,h3{font-family:Georgia,serif}.dark{background:#263a2a;color:white}.dark .eyebrow{color:#e8bd3f}
.video{border:1px solid #657667;background:#1b291f;display:grid;place-items:center;text-align:center;border-radius:8px;overflow:hidden}.video div{max-width:550px}.video strong{font-size:28px;display:block}
.live-cameras .camera-intro{max-width:760px;color:#d0d7d1;margin:0 0 20px}.camera-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.camera-tab{background:#344b39;color:#fff;border:1px solid #657667}.camera-tab:hover{background:#405b46}.camera-tab.active{background:#e8bd3f;color:#1f3023;border-color:#e8bd3f}.camera-player{position:relative;width:min(94vw,1600px);max-width:none;aspect-ratio:16/9;height:auto;left:50%;transform:translateX(-50%);box-shadow:0 18px 45px rgba(0,0,0,.22)}.camera-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.camera-offline{position:absolute;inset:0;max-width:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;color:#fff}.camera-offline[hidden]{display:none}.camera-offline span{font-size:42px}.camera-offline strong{margin-top:8px}.camera-offline p{max-width:560px;color:#cbd4cd;margin:8px auto 0}.camera-note{font-size:11px;color:#aeb8b0;margin:12px 0 0}
.toolbar,.chart-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0}.tabs{display:flex;gap:7px;flex-wrap:wrap}
button{border:1px solid #cbc3ae;background:white;padding:8px 13px;border-radius:20px;font-weight:bold;cursor:pointer}.active{background:#263a2a;color:white;border-color:#263a2a}
.demo{font-size:10px;font-weight:bold;letter-spacing:.15em;background:#e8bd3f;padding:7px 10px;border-radius:4px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.card,.panel{background:white;border:1px solid #ddd5c1;border-radius:8px;padding:24px}.card span{font-size:25px}.card p{font-size:12px;font-weight:bold;color:#666}.card strong{font-size:29px;display:block}.card small{color:#888}
.chartbox{background:white;border:1px solid #ddd5c1;border-radius:8px;padding:24px;margin-top:18px}.chartwrap{height:320px}.note{font-size:11px;color:#777}
.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tags span{display:inline-block;background:#eee5cf;padding:6px 10px;border-radius:18px;font-size:11px;margin:3px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.flower{font-size:35px}.research{background:#202e23;color:white}.research p{color:#d0d7d1}
footer{background:#172119;color:#ccd3cd;padding:35px 7%;display:flex;justify-content:space-between}
@media(max-width:800px){nav{display:none}.hero{grid-template-columns:1fr}.hero h1{font-size:48px}.hero-bee{font-size:80px}.metrics{grid-template-columns:1fr 1fr}.split,.grid3{grid-template-columns:1fr}.toolbar,.chart-head{align-items:flex-start;flex-direction:column;gap:12px}}

.weather-status{font-size:12px;color:#777;margin-bottom:14px}
.weather-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.weather-big{display:flex;align-items:center;gap:16px;margin:18px 0 4px}.weather-big span{font-size:54px}.weather-big strong{font-size:48px}
.weather-details{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:20px}.weather-details div{background:#f7f3e8;padding:12px;border-radius:6px}.weather-details b,.weather-details span{display:block}.weather-details b{font-size:10px;letter-spacing:.08em;color:#777}.weather-details span{font-size:16px;font-weight:bold;margin-top:3px}
.flight-badge{display:inline-block;margin:18px 0 6px;padding:9px 13px;border-radius:20px;font-weight:bold;font-size:13px}.flight-badge.good{background:#dcebd9;color:#244b29}.flight-badge.limited{background:#f5e9b9;color:#69540e}.flight-badge.poor{background:#efd4cf;color:#6c2c22}.flight-card small{color:#777}
.forecast-panel{background:#fff;border:1px solid #ddd5c1;border-radius:8px;padding:24px;margin-top:20px}.forecast-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:15px}.forecast-day{background:#f7f3e8;border-radius:7px;padding:15px;text-align:center}.forecast-day b,.forecast-day span{display:block}.forecast-day .fi{font-size:28px;margin:7px 0}.forecast-day .temps{font-weight:bold}.forecast-day small{color:#777}.weather-credit{font-size:10px;color:#888;margin:14px 0 0}
@media(max-width:800px){.weather-grid{grid-template-columns:1fr}.forecast-grid{grid-template-columns:1fr 1fr}.forecast-day:last-child{grid-column:1/-1}}

.section-intro{max-width:820px;color:#5f655e;font-size:16px;margin:0 0 24px}
.season-section{background:#efe7d3}.season-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.season-card{background:#fff;border:1px solid #d8d0bc;border-radius:8px;padding:22px}.season-card>span{font-size:30px}.season-card h3{margin:10px 0 8px;font-size:18px}.season-card p{font-size:13px;color:#62685f;margin:0}.watch-strip{margin-top:18px;background:#263a2a;color:#fff;padding:16px 18px;border-radius:8px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.watch-strip strong{margin-right:6px}.watch-strip span{background:rgba(255,255,255,.12);padding:5px 9px;border-radius:15px;font-size:11px}.forage-card b{color:#6f5716}.forage-tag{display:inline-block;background:#eee5cf;color:#66551f;border-radius:14px;padding:5px 9px;font-size:10px;font-weight:bold}.forage-note{font-size:11px;color:#777;margin-top:14px}@media(max-width:900px){.season-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.season-grid{grid-template-columns:1fr}}

html{scroll-behavior:smooth}.big-icon{font-size:32px}.varroa-section{background:#f7f3e8}.varroa-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.data-placeholder{margin-top:18px;border:1px dashed #9b927d;border-radius:8px;padding:18px;display:flex;justify-content:space-between;gap:15px;background:#fff}.data-placeholder strong{font-size:12px;letter-spacing:.1em}.data-placeholder span{font-size:12px;color:#777}.research-lead{max-width:800px;color:#d0d7d1}.research-feature{display:grid;grid-template-columns:1.5fr .5fr;gap:25px;margin-top:25px;padding:28px;border:1px solid #526455;border-radius:8px;background:#263a2a}.research-feature h3{font-size:26px;margin:8px 0}.research-label{font-size:10px;letter-spacing:.15em;color:#e8bd3f;font-weight:bold}.research-stat{text-align:center;display:flex;flex-direction:column;justify-content:center;border-left:1px solid #526455;padding-left:20px}.research-stat span{font-family:Georgia,serif;font-size:58px;color:#e8bd3f}.research-stat small{font-size:9px;letter-spacing:.1em}.research-note{font-size:11px;color:#aeb8b0;margin-top:15px}.videos-section{background:#efe7d3}.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.video-card{background:#fff;border:1px solid #d8d0bc;border-radius:8px;overflow:hidden}.video-card h3,.video-card p{margin-left:18px;margin-right:18px}.video-card p{font-size:12px;color:#777;margin-bottom:20px}.video-thumb{height:150px;background:#263a2a;color:#e8bd3f;display:grid;place-items:center;font-size:38px}.footer-sub{display:block;font-size:11px;margin-top:5px;color:#9da79f}footer>span{font-size:11px}@media(max-width:900px){.varroa-grid,.video-grid{grid-template-columns:1fr}.research-feature{grid-template-columns:1fr}.research-stat{border-left:0;border-top:1px solid #526455;padding:20px 0 0}.data-placeholder{flex-direction:column}}

.research-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0 32px}.research-metrics div{background:#263a2a;border:1px solid #526455;border-radius:8px;padding:18px;text-align:center}.research-metrics strong{display:block;font-family:Georgia,serif;font-size:34px;color:#e8bd3f}.research-metrics span{font-size:10px;text-transform:uppercase;letter-spacing:.08em}.results-title{margin:0 0 4px}.results-sub{font-size:12px;color:#aeb8b0;margin:0 0 12px}.results-table{border:1px solid #526455;border-radius:8px;overflow:hidden}.result-row{display:grid;grid-template-columns:2fr repeat(3,1fr);align-items:center;border-top:1px solid #526455}.result-row:first-child{border-top:0}.result-row span{padding:13px 15px}.result-row small{display:block;color:#aeb8b0;margin-top:3px}.result-row.header{background:#263a2a;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#e8bd3f}.result-row .down{color:#b9e0bd}.result-row .up{color:#ffb5a9}.research-takeaway{margin-top:22px;padding:24px;background:#263a2a;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:28px}.research-takeaway h3{font-size:23px;margin:8px 0 0}.research-takeaway p{font-size:13px;color:#d0d7d1;margin:0}.research-caution{margin-top:14px;font-size:11px;color:#bfc8c1;border-left:3px solid #e8bd3f;padding:10px 14px;background:rgba(255,255,255,.03)}@media(max-width:700px){.research-metrics{grid-template-columns:1fr 1fr}.research-takeaway{grid-template-columns:1fr}.result-row{grid-template-columns:1.6fr repeat(3,.8fr)}.result-row span{padding:10px 8px;font-size:11px}}

.research-home-card{display:flex;justify-content:space-between;align-items:center;gap:35px;background:#263a2a;border:1px solid #526455;border-radius:10px;padding:28px}.research-home-card h2{margin:7px 0 10px}.research-home-card p{max-width:720px;color:#d0d7d1}.research-home-stats{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px}.research-home-stats span{font-size:11px;text-transform:uppercase;letter-spacing:.05em}.research-home-stats b{color:#e8bd3f;font-size:18px;margin-right:4px}.study-button{display:inline-block;white-space:nowrap;background:#e8bd3f;color:#1f2f23!important;text-decoration:none;font-weight:bold;padding:13px 17px;border-radius:7px;font-size:12px}.study-header{background:#1f3023;color:#fff;padding:42px max(6vw,25px)}.study-header h1{max-width:900px;font-family:Georgia,serif;font-size:40px;line-height:1.08;margin:10px 0}.study-authors{color:#d6ddd7;font-size:16px}.back-link{display:inline-block;color:#e8bd3f;text-decoration:none;margin-bottom:30px;font-size:12px}.study-summary{background:#f7f3e8}.study-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:35px}.paper-box{margin-top:30px;padding:28px;background:#fff;border:1px solid #d8d0bc;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:30px}.paper-box h2{margin:6px 0}.paper-box p{max-width:650px;color:#666}footer a{color:inherit}@media(max-width:750px){.research-home-card,.paper-box{flex-direction:column;align-items:flex-start}.study-grid{grid-template-columns:1fr}.study-header h1{font-size:30px}}

.site-logo{display:block;width:145px;max-width:22vw;height:auto;object-fit:contain}
@media(max-width:700px){.site-logo{width:105px;max-width:32vw}}

.brand-hero{width:100%;background:#111;overflow:hidden;line-height:0}
.brand-hero img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;object-position:center}
@media(max-width:700px){.brand-hero img{min-height:210px;object-fit:cover;object-position:center}}

/* Match the hero's surrounding website area to the site forest green. */
.brand-hero{
  background:#1f3023 !important;
  padding:0 !important;
  border:0 !important;
}

/* Give the hero more breathing room while keeping the surround forest green. */
.brand-hero{
  background:#1f3023 !important;
  padding:24px 32px !important;
  box-sizing:border-box;
}
.brand-hero img{
  width:100%;
  max-width:1920px;
  margin:0 auto;
}
@media(max-width:700px){
  .brand-hero{padding:12px !important;}
}

/* Restore original hero surround. */
.brand-hero{
  background:#111 !important;
  padding:0 !important;
  border:0 !important;
}
.brand-hero img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  margin:0;
}
@media(max-width:700px){
  .brand-hero{padding:0 !important;}
}

/* Smaller hero banner with a thicker forest-green surround. */
.brand-hero{
  background:#1f3023 !important;
  padding:30px 46px !important;
  box-sizing:border-box;
}
.brand-hero img{
  display:block;
  width:100%;
  height:auto;
  max-width:1800px;
  margin:0 auto;
}
@media(max-width:700px){
  .brand-hero{padding:16px !important;}
}

/* Reduce hero by about one additional inch overall on desktop. */
.brand-hero{
  background:#1f3023 !important;
  padding:30px 94px !important;
  box-sizing:border-box;
}
.brand-hero img{
  display:block;
  width:100%;
  height:auto;
  max-width:1800px;
  margin:0 auto;
}
@media(max-width:700px){
  .brand-hero{padding:16px 24px !important;}
}

/* Match the hero surround exactly to the established webpage forest green. */
.brand-hero{
  background:#1f3023 !important;
}

/* Match banner surround to the webpage's dominant green, not the darker header green. */
.brand-hero{
  background:#263a2a !important;
}

/* Exact color match between webpage and baked-in banner surround. */
.brand-hero { background:#263A2A !important; }

.site-footer{display:grid;grid-template-columns:1.3fr 1fr 1.5fr auto;gap:24px;align-items:center;padding:28px max(5vw,24px);background:#1f3023;color:#f7f3e8;border-top:1px solid #526455;font-size:12px}.footer-brand strong{display:block;color:#e8bd3f;font-family:Georgia,serif;font-size:18px}.footer-brand span{display:block;margin-top:3px;color:#d0d7d1}.footer-location{color:#d0d7d1}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.site-footer a{color:#f7f3e8;text-decoration:none}.site-footer a:hover{text-decoration:underline}.back-top{color:#e8bd3f!important}.footer-copy{white-space:nowrap;color:#d0d7d1}@media(max-width:800px){.site-footer{grid-template-columns:1fr 1fr}.footer-copy{white-space:normal}}@media(max-width:520px){.site-footer{grid-template-columns:1fr}.footer-links{gap:14px}}

.beekeeper-credential{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;background:#263a2a;color:#f7f3e8;padding:11px 20px;border-top:1px solid #526455;border-bottom:1px solid #526455;font-size:12px;letter-spacing:.03em}.credential-name{font-family:Georgia,serif;font-weight:bold;color:#e8bd3f;font-size:15px}.credential-dot{color:#e8bd3f}@media(max-width:520px){.beekeeper-credential{gap:7px;padding:10px 12px;font-size:11px}}

.credential-link{color:#f7f3e8;text-decoration:none;border-bottom:1px dotted #e8bd3f}.credential-link:hover{color:#e8bd3f}.bio-page{background:#f7f3e8}.bio-intro{max-width:900px;margin-bottom:30px}.bio-intro h2{font-family:Georgia,serif;font-size:32px;line-height:1.15;margin:8px 0 12px}.bio-intro p{color:#555;line-height:1.7}.bio-study-link{margin-top:12px}

.credentials-section{margin:34px 0 38px}.credentials-section h2{font-family:Georgia,serif;font-size:30px;margin:7px 0 8px}.credentials-intro{max-width:850px;color:#555;line-height:1.65;margin-bottom:22px}.credential-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.certificate-card{display:flex;flex-direction:column;background:#fff;border:1px solid #d8d0bc;border-radius:8px;overflow:hidden;text-decoration:none;color:#1f3023;transition:transform .15s ease,border-color .15s ease}.certificate-card:hover{transform:translateY(-2px);border-color:#e8bd3f}.certificate-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;padding:10px;box-sizing:border-box}.certificate-info{padding:14px 16px 16px;border-top:1px solid #eee}.certificate-info strong{display:block;font-family:Georgia,serif;font-size:18px;color:#263a2a}.certificate-info span{display:block;margin-top:4px;color:#555}.certificate-info small{display:block;margin-top:7px;color:#777}.featured-cert{grid-column:1/-1}.featured-cert img{aspect-ratio:16/9;max-height:460px}@media(max-width:680px){.credential-gallery{grid-template-columns:1fr}.featured-cert{grid-column:auto}.featured-cert img,.certificate-card img{aspect-ratio:auto}}

/* Compact certificate thumbnails */
.credential-gallery{
  display:flex !important;
  flex-wrap:wrap;
  gap:18px;
  align-items:flex-start;
}
.certificate-card,
.featured-cert{
  width:220px !important;
  max-width:100%;
  grid-column:auto !important;
}
.certificate-card img,
.featured-cert img{
  width:100% !important;
  height:155px !important;
  max-height:155px !important;
  aspect-ratio:auto !important;
  object-fit:contain;
  padding:7px;
}
.certificate-info{
  padding:10px 12px 12px;
}
.certificate-info strong{
  font-size:15px;
}
.certificate-info span,
.certificate-info small{
  font-size:11px;
}
@media(max-width:520px){
  .credential-gallery{justify-content:center}
  .certificate-card,.featured-cert{width:190px !important}
  .certificate-card img,.featured-cert img{height:135px !important}
}

/* Uniform certificate thumbnail boxes */
.certificate-card,
.featured-cert{
  width:220px !important;
  height:245px !important;
  display:flex !important;
  flex-direction:column;
}
.certificate-card img,
.featured-cert img{
  width:100% !important;
  height:150px !important;
  min-height:150px !important;
  max-height:150px !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
  box-sizing:border-box;
}
.certificate-info{
  flex:1;
  box-sizing:border-box;
}
@media(max-width:520px){
  .certificate-card,.featured-cert{
    width:190px !important;
    height:225px !important;
  }
  .certificate-card img,.featured-cert img{
    height:135px !important;
    min-height:135px !important;
    max-height:135px !important;
  }
}

.program-link{display:inline-block;margin-top:7px;color:#7b5d00;text-decoration:none;font-size:11px;font-weight:700}.program-link:hover{text-decoration:underline}
.certificate-card,.featured-cert{height:275px !important}
@media(max-width:520px){.certificate-card,.featured-cert{height:255px !important}}

/* Revert credential cards to pre-link layout. */
.certificate-card,
.featured-cert{
  width:220px !important;
  height:245px !important;
}
@media(max-width:520px){
  .certificate-card,.featured-cert{
    width:190px !important;
    height:225px !important;
  }
}

/* Center all text beneath credential thumbnails. */
.certificate-info{
  text-align:center !important;
}

.bio-intro{max-width:940px}
.bio-intro p{font-size:15px;line-height:1.75;margin:0 0 17px}
.bio-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:26px 0 28px}
.bio-timeline div{background:#263a2a;color:#f7f3e8;border-top:3px solid #e8bd3f;border-radius:6px;padding:14px 12px;min-height:84px}
.bio-timeline strong{display:block;color:#e8bd3f;font-family:Georgia,serif;font-size:20px;margin-bottom:7px}
.bio-timeline span{font-size:11px;line-height:1.4}
@media(max-width:820px){.bio-timeline{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.bio-timeline{grid-template-columns:1fr}}

.community-section{margin:38px 0}.community-section h2{font-family:Georgia,serif;font-size:30px;margin:7px 0 8px}.community-intro{color:#555;margin:0 0 18px}.community-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.community-links a{display:flex;flex-direction:column;justify-content:space-between;min-height:92px;padding:17px;background:#263a2a;border-top:3px solid #e8bd3f;border-radius:6px;color:#f7f3e8;text-decoration:none}.community-links strong{font-family:Georgia,serif;font-size:16px;line-height:1.25}.community-links span{margin-top:13px;color:#e8bd3f;font-size:11px;font-weight:700}.community-links a:hover{transform:translateY(-2px)}@media(max-width:720px){.community-links{grid-template-columns:1fr}}

.community-subhead{font-family:Georgia,serif;font-size:17px;color:#263a2a;margin:20px 0 10px}.veteran-subhead{margin-top:25px}.veteran-community-links{grid-template-columns:repeat(2,minmax(0,1fr));max-width:720px}@media(max-width:720px){.veteran-community-links{grid-template-columns:1fr}}

@media(max-width:700px){.camera-player{width:100%;left:auto;transform:none}.camera-tabs{gap:7px}.camera-tab{flex:1 1 calc(50% - 7px)}}

/* Live camera sizing override: iframe participates in normal layout */
.live-cameras .camera-player{
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:1400px !important;
  height:auto !important;
  aspect-ratio:auto !important;
  left:auto !important;
  transform:none !important;
  margin:0 auto !important;
  padding:0 !important;
  overflow:hidden !important;
}
.live-cameras .camera-player #live-camera-frame{
  position:static !important;
  display:block !important;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.live-cameras .camera-offline{
  position:static !important;
  width:100% !important;
  min-height:clamp(280px,50vw,788px) !important;
}

/* Final live camera player layout */
.live-cameras .camera-player{
  position:relative !important;
  display:block !important;
  width:100% !important;
  max-width:1400px !important;
  aspect-ratio:16 / 9 !important;
  height:auto !important;
  left:auto !important;
  transform:none !important;
  margin:0 auto !important;
  padding:0 !important;
  overflow:hidden !important;
}
.live-cameras .camera-player #live-camera-frame{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  aspect-ratio:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
.live-cameras .camera-player .camera-offline{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  min-height:0 !important;
}

/* BroodMinder six-hive dashboard test */
.broodminder-intro{max-width:760px;color:#666;margin:0 0 8px}.broodminder-badge{font-size:10px;font-weight:800;letter-spacing:.09em;background:#263a2a;color:#e8bd3f;padding:8px 10px;border-radius:999px}.broodminder-panel{background:transparent;border:0;border-radius:0;padding:0;margin-top:18px}.broodminder-head{display:block;margin-bottom:16px}.broodminder-head h3{margin:4px 0 0}.broodminder-open{display:inline-block;text-decoration:none;background:#263a2a;color:#fff;padding:10px 14px;border-radius:6px;font-size:12px;font-weight:700}.broodminder-frame-wrap{width:100%;height:min(78vh,820px);min-height:560px;border:1px solid #d8d2c3;border-radius:7px;overflow:hidden;background:#f5f3ec}.broodminder-frame-wrap iframe{display:block;width:100%;height:100%;border:0}.broodminder-placeholder{min-height:320px;border:1px dashed #c8c0ac;border-radius:7px;background:#f5f3ec;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px}.broodminder-placeholder[hidden]{display:none}.broodminder-placeholder span{font-size:42px}.broodminder-placeholder strong{margin-top:10px}.broodminder-placeholder p{max-width:560px;color:#777}.hive-tabs .hive.active{background:#263a2a;color:#fff}.broodminder-panel .note{margin:12px 0 0}@media(max-width:800px){.broodminder-frame-wrap{height:70vh;min-height:480px}}

/* BroodMinder compact dashboard link */
.broodminder-summary{display:flex;align-items:center;gap:18px;padding:22px;border:1px solid #d8d2c3;border-radius:7px;background:#f5f3ec}
.broodminder-summary[hidden]{display:none}
.broodminder-summary .broodminder-icon{font-size:38px}
.broodminder-summary strong{display:block;margin-bottom:5px}
.broodminder-summary p{margin:0;color:#666;max-width:720px}
.broodminder-open{font-size:14px;padding:12px 18px}

/* BroodMinder hive links */
#dashboard .hive-tabs .hive { text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
#dashboard .hive-tabs a.hive:hover, #dashboard .hive-tabs a.hive:focus-visible { background:#263a2a; color:#fff; border-color:#263a2a; }
#dashboard .hive-tabs .hive-disabled { opacity:.5; cursor:not-allowed; }

/* Preserve the original rounded Hive button appearance for BroodMinder links */
#dashboard .hive-tabs .hive {
  border:1px solid #cbc3ae;
  background:#fff;
  color:#111;
  padding:8px 13px;
  border-radius:20px;
  font-weight:bold;
  cursor:pointer;
  font-family:inherit;
  font-size:inherit;
  line-height:normal;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
#dashboard .hive-tabs a.hive:hover,
#dashboard .hive-tabs a.hive:focus-visible {
  background:#263a2a;
  color:#fff;
  border-color:#263a2a;
}
#dashboard .hive-tabs .hive-disabled {
  background:#fff;
  color:#111;
  opacity:.5;
  cursor:not-allowed;
}

/* Live apiary mite trend chart */
.mite-chart-card{margin-top:22px;background:#fff;border:1px solid #d8d0bc;border-radius:8px;padding:24px 26px 20px}.mite-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.mite-chart-label{display:block;font-size:11px;letter-spacing:.14em;font-weight:800;color:#916b12;margin-bottom:6px}.mite-chart-head h3{margin:0;font-size:24px}.mite-chart-note{font-size:12px;color:#777;padding-top:5px}.mite-chart-wrap{position:relative;padding-left:58px}.mite-y-title{position:absolute;left:-18px;top:88px;transform:rotate(-90deg);font-size:11px;color:#777;letter-spacing:.04em}.mite-chart-area{height:260px;position:relative;border-left:2px solid #263a2a;border-bottom:2px solid #263a2a;background:#fbfaf6}.mite-gridline{position:absolute;left:0;right:0;border-top:1px solid #ded8c8}.mite-gridline span{position:absolute;left:-43px;top:-9px;width:32px;text-align:right;font-size:11px;color:#777}.mite-gridline.g3{top:0}.mite-gridline.g2{top:33.333%}.mite-gridline.g1{top:66.666%}.mite-gridline.g0{bottom:-1px}.mite-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;color:#59605b}.mite-empty strong{font-family:Georgia,serif;font-size:21px;color:#263a2a;margin-bottom:7px}.mite-empty span{font-size:13px}.mite-x-title{text-align:center;font-size:11px;color:#777;margin-top:9px}.mite-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}.mite-legend span{border:1px solid #d8d0bc;background:#f7f3e8;border-radius:999px;padding:6px 12px;font-size:11px;font-weight:700;color:#263a2a}@media(max-width:700px){.mite-chart-card{padding:18px 14px}.mite-chart-head{flex-direction:column}.mite-chart-wrap{padding-left:48px}.mite-chart-area{height:220px}.mite-y-title{left:-27px;top:75px}.mite-chart-note{padding-top:0}}
.sample-mite-chart{overflow:visible}.sample-bars{position:absolute;inset:0 14px 0 14px;display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:18px;padding:0 12px}.sample-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.sample-bar{width:min(54px,72%);min-height:8px;background:#263a2a;border-radius:6px 6px 0 0;position:relative}.sample-bar b{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:11px;color:#263a2a;white-space:nowrap}.sample-bar.empty{background:#d8d0bc}.sample-col>span{position:absolute;bottom:-27px;font-size:11px;font-weight:800;color:#263a2a;white-space:nowrap}.sample-mite-chart{margin-bottom:34px}.sample-banner{text-align:center;margin:8px 0 16px;font-size:11px;letter-spacing:.11em;font-weight:800;color:#916b12}.treatment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.treatment-grid article{border:1px solid #d8d0bc;background:#f7f3e8;border-radius:7px;padding:14px;display:flex;flex-direction:column;gap:4px}.treatment-grid article strong{font-family:Georgia,serif;font-size:17px;color:#263a2a}.treatment-grid article span{font-size:13px;color:#59605b}.treatment-grid article b{font-size:12px;color:#263a2a;margin-top:5px}.treatment-grid article small{font-size:11px;color:#777}@media(max-width:700px){.sample-bars{gap:5px;padding:0 2px}.sample-bar{width:70%}.sample-col>span{font-size:9px}.treatment-grid{grid-template-columns:1fr 1fr}}@media(max-width:460px){.treatment-grid{grid-template-columns:1fr}}

/* Multiple mite-wash demo */
.multi-mite-chart{overflow:visible;margin-bottom:38px}.multi-bars{position:absolute;inset:0 12px 0 12px;display:grid;grid-template-columns:repeat(6,1fr);gap:14px;padding:0 8px}.multi-hive{height:100%;position:relative;display:flex;align-items:flex-end;justify-content:center}.bar-set{height:100%;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:3px}.wash{display:block;width:16%;min-width:6px;max-width:16px;border-radius:4px 4px 0 0}.wash.w1,.key.w1{background:#b9c7b8}.wash.w2,.key.w2{background:#7f9a82}.wash.w3,.key.w3{background:#49684f}.wash.w4,.key.w4{background:#263a2a}.multi-hive>span{position:absolute;bottom:-28px;font-size:11px;font-weight:800;color:#263a2a;white-space:nowrap}.wash-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin:4px 0 8px}.wash-legend span{font-size:11px;font-weight:700;color:#59605b;display:flex;align-items:center;gap:5px}.wash-legend .key{display:inline-block;width:12px;height:12px;border-radius:2px}.treatment-grid article span b{font-size:inherit;margin:0;color:#263a2a}@media(max-width:700px){.multi-bars{gap:5px;padding:0}.bar-set{gap:1px}.multi-hive>span{font-size:9px}.wash-legend{gap:8px}}

.apiary-updated{font-size:11px;color:#777;margin:-8px 0 18px;font-weight:600;letter-spacing:.02em}

/* Live Ellsworth-area forage observations */
.forage-live-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:10px 0 18px}.forage-live-status{font-size:12px;font-weight:700;color:#49604d}.forage-source-link{display:inline-block;background:#263a2a;color:#fff;text-decoration:none;padding:9px 13px;border-radius:7px;font-size:11px;font-weight:800}.forage-source-link:hover{filter:brightness(1.12)}.forage-scientific{margin-top:-5px;color:#777;font-size:11px}.forage-observed{min-height:34px}.forage-observation-link{text-decoration:none}.forage-loading,.forage-empty{grid-column:1/-1}.live-forage-card h3{text-transform:capitalize}@media(max-width:600px){.forage-live-head{align-items:flex-start}.forage-source-link{width:100%;text-align:center}}

/* Mobile polish: preserve desktop layout while making the brand area fit cleanly on phones. */
@media (max-width:700px){
  header{
    padding:10px 16px;
    min-height:0;
  }
  .site-logo{
    width:82px;
    max-width:28vw;
  }
  .brand-hero{
    padding:12px 14px !important;
  }
  .brand-hero img{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
  }
  .hero{
    padding:48px 7%;
  }
  .hero h1{
    font-size:44px;
    line-height:1.02;
  }
  .hero p{
    font-size:17px;
  }
  .hero-bee{
    display:none;
  }
}

@media (max-width:420px){
  .site-logo{width:74px;}
  .brand-hero{padding:10px 12px !important;}
  .hero{padding:40px 6%;}
  .hero h1{font-size:40px;}
}


/* Mobile navigation menu */
.mobile-menu-toggle{display:none}
@media(max-width:800px){
  header{position:relative;flex-wrap:wrap;gap:10px;padding:14px 5%}
  .mobile-menu-toggle{display:inline-flex;align-items:center;gap:7px;margin-left:auto;border:1px solid #263a2a;background:#263a2a;color:#fff;border-radius:7px;padding:9px 12px;font:700 13px Arial,sans-serif;line-height:1;cursor:pointer}
  header nav{display:none;width:100%;margin:4px 0 0;padding:7px 0;border-top:1px solid #d8d1bd}
  header nav.mobile-open{display:grid;grid-template-columns:1fr 1fr;gap:0}
  header nav a{margin:0;padding:11px 9px;border-bottom:1px solid #e2dccb;color:#263a2a;font-size:13px}
  header nav a:nth-last-child(-n+2){color:#8b6a16}
}
@media(max-width:430px){header nav.mobile-open{grid-template-columns:1fr}}
