/* ManualeReef Atlas pilot v2 - sticky tabs, taxonomy immediately by photo,
   editorial dedup; entirely scoped to ?atlas-pilot=1. */
html.mr-atlas-pilot .layout>.side{
  position:sticky!important;top:var(--mr-pilot-header-h,70px)!important;z-index:98!important;
  display:block!important;overflow:visible!important;min-height:0!important;height:auto!important;
  margin:0 0 22px!important;padding:7px 0!important;isolation:isolate;
  background:rgba(242,246,248,.98)!important;border-bottom:1px solid #d7e3e8!important;
  box-shadow:0 6px 15px rgba(15,50,66,.045)!important;backdrop-filter:blur(12px)
}
html.mr-atlas-pilot .layout>.side .mr-pilot-nav-scroll{
  display:flex;align-items:center;gap:2px;width:100%;max-width:100%;
  overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin;
  padding:4px 2px 7px;-webkit-overflow-scrolling:touch
}
html.mr-atlas-pilot .layout>.side .mr-pilot-nav-scroll a{
  flex:0 0 auto!important;white-space:nowrap!important;scroll-margin-inline:60px!important
}
html.mr-atlas-pilot .layout>.side .mr-pilot-nav-scroll a.active{
  color:#006c88!important;background:#ddf2f7!important;
  box-shadow:inset 0 -2px 0 #08a9c9!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy{
  grid-column:2!important;grid-row:2!important;position:static!important;
  display:block!important;align-self:stretch!important;max-width:none!important;
  width:100%!important;min-width:0!important;height:auto!important;
  margin:0!important;padding:19px 25px!important;border:0!important;
  border-left:1px solid #dce7ec!important;border-top:1px solid #dce7ec!important;
  border-radius:0!important;background:#f9fcfd!important;color:#15364c!important;
  box-shadow:none!important;overflow:visible!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy .atlas321-science-inner{
  position:static!important;width:100%!important;max-width:none!important;
  padding:0!important;margin:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy h2,
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy h3{
  font:800 20px/1.25 Manrope,system-ui,sans-serif!important;color:#103b53!important;
  letter-spacing:-.035em!important;margin:0 0 13px!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dl{
  display:grid!important;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr)!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  gap:0!important;background:transparent!important;border:0!important;
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dt,
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dd{
  margin:0!important;min-width:0!important;padding:8px 7px!important;
  border:0!important;border-bottom:1px solid #dce7ec!important;
  font-size:12px!important;line-height:1.55!important;overflow-wrap:anywhere!important;
  background:none!important;box-shadow:none!important;text-align:left!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dt{font-weight:750!important;color:#416777!important}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dd{color:#17394b!important}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy details{padding-top:10px!important;margin-top:5px!important}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy .atlas-geo-panel{
  margin:14px 0 0!important;padding:11px 12px!important;background:#fff!important;
  border:1px solid #dce7ec!important;border-radius:12px!important
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy .atlas321-science-source{
  padding:10px 0 0!important;margin:0!important;border:0!important;
}
html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy .atlas321-science-source h2{
  font-size:13px!important;margin:0 0 4px!important
}
html.mr-atlas-pilot .hero-top>.hero-stats-panel{
  grid-column:1!important;grid-row:2!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
  padding:18px!important;align-content:start!important;border-top:1px solid #dce7ec!important
}
html.mr-atlas-pilot .hero-top>.hero-stats-panel .stat{
  padding:11px!important;gap:8px!important;min-height:75px!important
}
html.mr-atlas-pilot .hero-top>.hero-stats-panel .stat span{
  font-size:12px!important;line-height:1.4!important
}
html.mr-atlas-pilot article.content #atlas325-preserved-tables.mr-pilot-parameter-section{
  margin:14px 0 24px!important;padding:22px!important;background:#f6fafc!important;
  border:1px solid #dce7ec!important;border-radius:16px!important;
  box-shadow:none!important
}
html.mr-atlas-pilot article.content #atlas325-preserved-tables.mr-pilot-parameter-section>h2{
  margin:0 0 8px!important;font-size:22px!important
}
html.mr-atlas-pilot article.content #atlas325-preserved-tables.mr-pilot-parameter-section>p{
  font-size:13px!important;margin:0 0 14px!important
}
html.mr-atlas-pilot .mr-pilot-parameter-cards{
  display:block!important;grid-template-columns:1fr!important;padding:0!important;
}
html.mr-atlas-pilot .mr-pilot-parameter-cards>.atlas325-preserved-item{
  max-width:none!important;width:100%!important;padding:15px!important;
  margin:0!important;background:#fff!important;border:1px solid #e2eaee!important;
  border-radius:13px!important
}
html.mr-atlas-pilot #readerZone .reader-detail-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important
}
html.mr-atlas-pilot #readerZone .reader-detail-card{margin:0!important;min-width:0!important}
html.mr-atlas-pilot #readerZone .reader-detail-card h3{font-size:17px!important}
html.mr-atlas-pilot .layout #intro .mr-free-chapters-v395{
  grid-template-columns:repeat(2,minmax(0,1fr))!important
}
html.mr-atlas-pilot .layout #intro .mr-free-chapter-v395:last-of-type{grid-column:1/-1}
html.mr-atlas-pilot #readerZone [hidden]{display:none!important}
html.mr-atlas-pilot #readerZone .mr-pilot-parameter-section{scroll-margin-top:165px}
html.mr-atlas-pilot #readerZone .reader-detail-card{scroll-margin-top:165px}
@media(max-width:800px){
 html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy{
   grid-column:2!important;grid-row:2!important;padding:17px 18px!important
 }
 html.mr-atlas-pilot .hero-top>.hero-stats-panel{grid-column:1!important;grid-row:2!important}
}
@media(max-width:760px){
 html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy{
   grid-column:1!important;grid-row:3!important;border-left:0!important;
   padding:20px 22px!important
 }
 html.mr-atlas-pilot .hero-top>.hero-stats-panel{
   grid-column:1!important;grid-row:4!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important
 }
 html.mr-atlas-pilot .hero-top>.mr-pilot-taxonomy dl{grid-template-columns:minmax(90px,.72fr) minmax(0,1.28fr)!important}
 html.mr-atlas-pilot article.content #atlas325-preserved-tables.mr-pilot-parameter-section{padding:17px!important}
 html.mr-atlas-pilot #readerZone .reader-detail-grid{grid-template-columns:1fr!important}
 html.mr-atlas-pilot .layout #intro .mr-free-chapters-v395{grid-template-columns:1fr!important}
 html.mr-atlas-pilot .layout #intro .mr-free-chapter-v395:last-of-type{grid-column:auto!important}
 html.mr-atlas-pilot .layout>.side{top:var(--mr-pilot-header-h,60px)!important}
}

/* Compact centralized attribution and source reference, pilot pages only. */
html.mr-atlas-pilot article.content #fonti.mr-pilot-sources-compact{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:9px!important;margin:15px 0 25px!important;padding:19px 23px!important;
  background:#f8fbfc!important;border:1px solid #dbe7ec!important;
  border-radius:16px!important;box-shadow:none!important;min-height:0!important;
}
html.mr-atlas-pilot article.content #fonti.mr-pilot-sources-compact>h2{
  font-size:18px!important;line-height:1.35!important;margin:0!important;
  color:#163b50!important;
}
html.mr-atlas-pilot article.content #fonti.mr-pilot-sources-compact>p{
  color:#597481!important;font-size:13px!important;line-height:1.65!important;
  margin:0!important;max-width:900px!important;
}
html.mr-atlas-pilot article.content #fonti.mr-pilot-sources-compact>.source-link{
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  margin-top:2px!important;font-size:13px!important;color:#007c98!important;
  font-weight:800!important;text-decoration:none!important;
}
html.mr-atlas-pilot .similar-grid .mr-pilot-related-with-credit{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  border:1px solid #dbe7ec!important;border-radius:14px!important;
  overflow:hidden!important;background:#fff!important;
  box-shadow:0 3px 16px rgba(15,44,60,.035)!important;
}
html.mr-atlas-pilot .similar-grid .mr-pilot-related-with-credit>a{
  flex:1!important;display:flex!important;border:0!important;box-shadow:none!important;
  border-radius:0!important;overflow:hidden!important;
}
html.mr-atlas-pilot .mr-pilot-photo-credit{
  font-size:11px!important;line-height:1.55!important;
  padding:8px 11px!important;margin:0!important;
  color:#5b7685!important;background:#f8fbfc!important;
}
html.mr-atlas-pilot .mr-pilot-photo-credit a{color:#007c98!important;text-decoration:underline!important}
@media(max-width:760px){
  html.mr-atlas-pilot article.content #fonti.mr-pilot-sources-compact{padding:17px 18px!important}
}
