:root{--navy:#092f49;--ocean:#087aa5;--sky:#dff4fa;--sand:#d8b980;--ink:#16313e;--white:#fff}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--ink);background:#f7fbfc}header{display:flex;justify-content:space-between;align-items:center;padding:1.1rem max(5vw,1rem);background:var(--navy);color:white}.brand{font-size:1.35rem;font-weight:750;color:white;text-decoration:none}main{width:min(920px,90vw);margin:auto;padding:4rem 0}.hero{max-width:720px;margin-bottom:2.5rem}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--ocean);font-size:.78rem;font-weight:750}h1{font-size:clamp(2.2rem,6vw,4.5rem);line-height:1.02;margin:.35rem 0 1rem;color:var(--navy)}h2{color:var(--navy)}p{line-height:1.65}.card,.future{background:white;border:1px solid #dce8ec;border-radius:18px;padding:clamp(1.3rem,4vw,2.5rem);box-shadow:0 14px 40px #09304712}.card label{display:block;font-weight:700;margin-bottom:1.6rem}.card input{display:block;width:100%;margin-top:.65rem;padding:1rem;border:1px dashed #8eb4c2;border-radius:10px;background:#f4fafc}.note{font-size:.9rem;color:#526d78}button,.button{display:inline-block;border:0;border-radius:999px;background:var(--ocean);color:white;padding:.9rem 1.4rem;font-weight:750;text-decoration:none;cursor:pointer}.future{margin-top:2rem;background:var(--sky)}.future span{display:inline-block;padding:.35rem .7rem;border-radius:999px;background:var(--navy);color:white;font-size:.8rem}footer{padding:2rem 5vw;text-align:center;color:#58717c}.result{max-width:700px;margin:auto}.result dl{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}.result dl div{padding:1rem;background:var(--sky);border-radius:12px}.result dt{font-size:.8rem}.result dd{font-size:1.7rem;font-weight:750;margin:.4rem 0 0}.secondary{display:inline-block;margin-left:1rem;color:var(--ocean)}@media(max-width:650px){.result dl{grid-template-columns:1fr}header span{display:none}}
.logo-link{display:flex;align-items:center;height:52px}.logo-link img{display:block;width:auto;height:52px;max-width:min(260px,52vw)}
.project-name{font-weight:700;letter-spacing:.01em}.hero-copy .project-name{color:#bcecf5;font-size:.95rem;margin:.2rem 0 .7rem}

.hero.hero-video{position:relative;max-width:none;min-height:600px;margin-bottom:0;border-radius:24px 24px 0 0;overflow:hidden;background:var(--navy);box-shadow:0 24px 60px #092f493d;isolation:isolate}.hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,25,40,.96) 0%,rgba(5,38,59,.9) 38%,rgba(5,38,59,.32) 67%,rgba(3,21,34,.1) 100%)}.hero-copy{width:min(58%,620px);min-height:600px;padding:clamp(2rem,5vw,4.5rem);display:flex;flex-direction:column;justify-content:center;color:#eef9fc}.hero-copy .eyebrow{color:#79d8ef}.hero-copy h1{color:white;text-wrap:balance;text-shadow:0 3px 24px #001522}.hero-copy p:not(.eyebrow){font-size:1.08rem;margin-bottom:0}
#processor-1{border-top:0;border-radius:0 0 24px 24px;box-shadow:0 24px 60px #092f4924}

@media(max-width:760px){.hero.hero-video,.hero-copy{min-height:560px}.hero-copy{width:100%;padding:2rem}.hero-background{object-position:68% center}.hero-overlay{background:linear-gradient(90deg,rgba(3,25,40,.94),rgba(3,25,40,.5))}.hero-copy h1{font-size:clamp(2.3rem,13vw,4rem)}}
@media(prefers-reduced-motion:reduce){.hero-background{display:none}.hero.hero-video{background:linear-gradient(135deg,#092f49,#087aa5)}}

.homepage{min-height:100vh;color:white;background:#061f2d}.site-background{position:fixed;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3}.site-background-shade{position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,rgba(3,19,30,.52),rgba(3,24,37,.72) 48%,rgba(3,19,30,.9))}.home-header{position:relative;background:rgba(4,31,46,.58);border-bottom:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px)}.home-header nav{display:flex;gap:1.5rem}.home-header nav a{color:white;text-decoration:none;font-weight:650}.home-main{width:min(1120px,90vw);padding:0 0 5rem}.home-hero{min-height:82vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:min(820px,100%);text-shadow:0 4px 30px rgba(0,0,0,.5)}.home-hero .eyebrow,.glass-section .eyebrow{color:#86e4f4}.home-hero .home-brand-title{font-size:clamp(5rem,15vw,10rem);line-height:.82;color:white;letter-spacing:-.07em;max-width:none;margin:.35rem 0 1.5rem}.home-tagline{font-size:clamp(1.65rem,3.5vw,2.7rem);font-weight:700;line-height:1.15;max-width:760px;margin:0 0 1rem}.home-lead{font-size:clamp(1.1rem,2vw,1.4rem);max-width:760px;margin:0 0 2rem}.glass-section{margin:2rem 0;padding:clamp(1.5rem,4vw,3rem);border:1px solid rgba(255,255,255,.22);border-radius:24px;background:rgba(5,38,56,.72);box-shadow:0 20px 60px rgba(0,12,20,.28);backdrop-filter:blur(18px)}.glass-section h2,.project-card h3{color:white}.definition-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem)}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}.project-card{padding:1.6rem;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16)}.project-card span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#8ce6f4}.project-card h3{font-size:1.65rem;margin:.6rem 0}.project-card .button{margin-top:.5rem}.project-card.muted{background:rgba(255,255,255,.06)}.home-footer{color:rgba(255,255,255,.78);background:rgba(2,17,27,.82)}
@media(max-width:720px){.home-header nav{gap:.7rem;font-size:.82rem}.definition-grid,.project-grid{grid-template-columns:1fr}.home-hero{min-height:76vh}.home-hero h1{font-size:clamp(2.8rem,15vw,4.5rem)}}
@media(prefers-reduced-motion:reduce){.site-background{display:none}.homepage{background:linear-gradient(160deg,#092f49,#065d7d)}}

.local-processing-note h2 { margin-top: .2rem; }
.button-link { display: inline-block; padding: .8rem 1rem; border-radius: .45rem; background: #164d66; color: #fff; text-decoration: none; font-weight: 700; }
.button-link:hover { text-decoration: underline; }


/* Shared ESeaLog banner */
.site-banner{
  gap:2rem;
  align-items:center;
  padding:.9rem max(4vw,1.25rem);
  background:rgba(4,31,46,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.13)
}
.logo-link{display:flex;align-items:center;flex:0 0 auto}
.logo-link img{display:block;max-height:48px;width:auto}
.primary-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(1.35rem,2.8vw,3rem);
  flex:1;
  min-width:0
}
.primary-nav a{
  position:relative;
  color:rgba(255,255,255,.88);
  text-decoration:none;
  line-height:1.2;
  letter-spacing:-.01em;
  transition:color .18s ease,opacity .18s ease
}
.primary-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-.48rem;
  height:2px;
  border-radius:2px;
  background:#86e4f4;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease
}
.primary-nav a:hover,.primary-nav a:focus-visible{color:#fff}
.primary-nav a:hover::after,.primary-nav a:focus-visible::after{transform:scaleX(1)}
.nav-major,.nav-heading,.nav-lab{
  font-size:1rem;
  font-weight:650;
  line-height:1.2;
  white-space:nowrap
}
.nav-group{display:flex;align-items:center;min-width:0}
.nav-lab{
  padding-left:clamp(1rem,2vw,1.8rem);
  border-left:1px solid rgba(255,255,255,.22)
}
.nav-lab span,.lab-title-link span{font-size:.8em;opacity:.72;margin-left:.16rem}
.lab-title-link{color:inherit;text-decoration:none}
.lab-title-link:hover,.lab-title-link:focus-visible{text-decoration:underline;text-underline-offset:.18em}
.definition-feature .definition-title{font-size:clamp(2rem,3.8vw,3rem);line-height:1.05;margin:.35rem 0 1rem}
.three-projects{grid-template-columns:repeat(3,1fr)}
.processor-banner{position:relative;color:#fff}
@media(max-width:1100px){
  .site-banner{gap:1rem}
  .primary-nav{gap:1rem 1.4rem;flex-wrap:wrap}
  .nav-lab{padding-left:1.2rem}
}
@media(max-width:820px){
  .site-banner{flex-direction:column;align-items:flex-start;padding:1rem 1.2rem}
  .primary-nav{justify-content:flex-start;width:100%;gap:.8rem 1.25rem}
  .nav-lab{padding-left:0;border-left:0}
  .nav-major,.nav-heading,.nav-lab{font-size:.95rem;font-weight:650;line-height:1.2}
  .primary-nav a::after{bottom:-.25rem}
  .three-projects{grid-template-columns:1fr}
  .definition-feature .definition-title{font-size:clamp(1.9rem,8vw,2.6rem)}
}

.optional-tag {
  display: inline-block;
  margin-left: .4rem;
  padding: .12rem .42rem;
  border-radius: 999px;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255,255,255,.12);
}

.orbit-download-box {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.orbit-download-box h3 { margin-top: .2rem; }
.secondary-button { margin-top: .35rem; }
.sp3-download-options { margin-top: 1rem; }
.sp3-day-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.sp3-day-group strong { min-width: 7rem; }
.sp3-download-link { font-size: .9rem; }

/* Guided CSV -> SP3 -> NetCDF workflow */
.guided-processor{padding:0;overflow:hidden}
.workflow-step{padding:2rem 3rem;border-top:1px solid #d8e6ed}
.workflow-step:first-child{border-top:0}
.workflow-step[hidden]{display:none}
.step-heading{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}
.step-number{display:inline-flex;align-items:center;justify-content:center;flex:0 0 2.4rem;width:2.4rem;height:2.4rem;border-radius:50%;background:#0a789f;color:#fff;font-weight:800;font-size:1.05rem}
.step-kicker{margin:0 0 .1rem;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800;color:#197da2}
.step-heading h2{margin:0;font-size:1.55rem}
.file-label{display:block;font-weight:700}
.file-label input[type=file]{display:block;width:100%;box-sizing:border-box;margin-top:.65rem;padding:1rem;border:1px dashed #8ebbd0;border-radius:14px;background:#f5fafc;font-weight:400}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.choice-card{display:flex;align-items:flex-start;gap:.8rem;padding:1rem 1.1rem;border:1px solid #b8d4df;border-radius:14px;background:#f8fbfc;cursor:pointer}
.choice-card:hover{border-color:#0a789f;background:#f1f8fb}
.choice-card input{margin-top:.25rem}
.choice-card span{display:flex;flex-direction:column;gap:.2rem}
.choice-card small{font-size:.9rem;line-height:1.4;color:#486676;font-weight:400}
.orbit-finder{background:#f7fbfd}
.orbit-warning{margin-bottom:1.25rem;padding:1rem 1.15rem;border-left:4px solid #c98514;border-radius:8px;background:#fff8e8;color:#3d3a2d}
.orbit-warning strong{font-size:1rem}
.orbit-warning p{margin:.35rem 0 0;line-height:1.55}
.sp3-download-options{margin-top:1rem}
.sp3-day-group{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:.85rem 0}
.sp3-day-group>strong{min-width:7.5rem}
.sp3-download-link{margin:0}
@media (max-width:700px){.workflow-step{padding:1.5rem}.choice-grid{grid-template-columns:1fr}.step-heading{align-items:flex-start}}

/* Four-project layout and GNSS AIR project media */
.four-projects{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-card-video{position:relative;overflow:hidden;min-height:360px;display:flex;align-items:flex-end;background:rgba(4,29,43,.88)}
.project-video-wrap{position:absolute;inset:0;z-index:0}
.project-video{width:100%;height:100%;object-fit:cover;display:block}
.project-video-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,23,34,.18) 0%,rgba(3,23,34,.62) 45%,rgba(3,23,34,.96) 100%)}
.project-card-content{position:relative;z-index:1;width:100%}
.project-card-video p{color:rgba(255,255,255,.96)}
.project-card-video strong{color:white}
@media (max-width:760px){.four-projects{grid-template-columns:1fr}.project-card-video{min-height:330px}}

/* Force the four Data-Sharing Projects into a balanced 2 x 2 grid on desktop. */
.project-grid.four-projects{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:1.5rem;
  align-items:stretch;
}
.project-grid.four-projects > .project-card{
  height:100%;
  box-sizing:border-box;
}
@media (max-width:760px){
  .project-grid.four-projects{
    grid-template-columns:1fr;
    grid-auto-rows:auto;
  }
}


/* Three-project layout: large Data MAP at left; GNSS AIR App and processing at right */
.project-grid.three-projects{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  grid-template-rows:minmax(0,2fr) minmax(0,1fr);
  gap:1.5rem;
  align-items:stretch;
  min-height:760px;
}
.project-grid.three-projects .project-card-map{
  grid-column:1;
  grid-row:1 / span 2;
  min-height:100%;
}
.project-grid.three-projects .project-card-app{
  grid-column:2;
  grid-row:1;
  min-height:0;
}
.project-grid.three-projects .processing-project-card{
  grid-column:2;
  grid-row:2;
  min-height:0;
}
.processing-project-card{display:flex;flex-direction:column;}
.processing-lead{margin-bottom:1.1rem;}
.processing-tool-list{display:grid;gap:.9rem;margin-top:auto;}
.processing-tool{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;padding:1rem;border-radius:14px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);}
.processing-tool h4{margin:.2rem 0 .35rem;font-size:1.18rem;color:white;}
.processing-tool p{margin:0;font-size:.96rem;}
.processing-tool small{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#8ce6f4;}
.processing-tool .button{flex:0 0 auto;margin:0;}
.processing-tool-muted{background:rgba(255,255,255,.04);}
@media (max-width:760px){
  .project-grid.three-projects{grid-template-columns:1fr;grid-template-rows:auto;min-height:0;}
  .project-grid.three-projects .project-card-map,
  .project-grid.three-projects .project-card-app,
  .project-grid.three-projects .processing-project-card{grid-column:auto;grid-row:auto;min-height:0;}
  .project-grid.three-projects .project-card-app{min-height:330px;}
  .processing-tool{align-items:flex-start;flex-direction:column;}
}

/* Compact three-project layout */
.project-grid.three-projects{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  grid-template-rows:minmax(0,2fr) minmax(0,1fr);
  gap:1rem;
  min-height:620px;
}
.project-grid.three-projects .project-card{
  padding:1.25rem;
}
.project-grid.three-projects .project-card-app{
  min-height:350px;
}
.processing-project-card{
  padding:1rem 1.15rem !important;
}
.processing-project-card h3{
  font-size:1.35rem;
  margin:.35rem 0 .4rem;
}
.processing-lead{
  margin:.2rem 0 .65rem;
  font-size:.92rem;
  line-height:1.35;
}
.processing-tool-list{
  grid-template-columns:1fr 1fr;
  gap:.55rem;
  margin-top:0;
}
.processing-tool{
  min-width:0;
  padding:.7rem;
  gap:.45rem;
  align-items:flex-start;
  flex-direction:column;
}
.processing-tool h4{
  margin:.15rem 0 .25rem;
  font-size:1rem;
}
.processing-tool p{
  font-size:.8rem;
  line-height:1.3;
}
.processing-tool small{
  font-size:.62rem;
}
.processing-tool .button{
  padding:.5rem .7rem;
  font-size:.78rem;
}
@media (max-width:760px){
  .project-grid.three-projects{min-height:0;gap:1rem;}
  .project-grid.three-projects .project-card{padding:1.25rem;}
  .processing-tool-list{grid-template-columns:1fr;}
}

/* GNSS AIR App: show the complete 16:9 demonstration video instead of cropping it as a full-card background. */
.project-grid.three-projects .project-card-app{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  padding:0;
  overflow:hidden;
  background:rgba(4,29,43,.94);
}
.project-grid.three-projects .project-card-app .project-video-wrap{
  position:relative;
  inset:auto;
  z-index:0;
  width:100%;
  aspect-ratio:16 / 9;
  flex:0 0 auto;
  overflow:hidden;
  background:#041d2b;
}
.project-grid.three-projects .project-card-app .project-video{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.project-grid.three-projects .project-card-app .project-video-shade{
  background:linear-gradient(180deg,rgba(3,23,34,0) 55%,rgba(3,23,34,.28) 100%);
}
.project-grid.three-projects .project-card-app .project-card-content{
  padding:1.15rem 1.25rem 1.25rem;
}
.project-grid.three-projects .project-card-app .project-card-content p{
  margin:.55rem 0 0;
}
@media (max-width:760px){
  .project-grid.three-projects .project-card-app{min-height:0;}
}


/* Reflector-height processor */
.parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}
.parameter-grid label{display:flex;flex-direction:column;gap:.45rem;font-weight:650}
.parameter-grid input{width:100%;box-sizing:border-box}
.table-scroll{overflow:auto;margin:1.1rem 0;max-height:430px;border:1px solid rgba(14,57,78,.12);border-radius:12px;background:#fff}
.result-table{width:100%;border-collapse:collapse;min-width:860px}
.result-table th,.result-table td{padding:.7rem .75rem;text-align:left;border-bottom:1px solid rgba(14,57,78,.14);white-space:nowrap}
.result-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;color:#31596b}
@media(max-width:760px){.parameter-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.parameter-grid{grid-template-columns:1fr}}

/* HR quality control and time-series plot */
.hr-qc-table{min-width:1180px}
.qc-badge{display:inline-block;min-width:5.6rem;padding:.28rem .55rem;border-radius:999px;text-align:center;font-size:.78rem;font-weight:750;letter-spacing:.02em}
.qc-high{background:rgba(33,132,95,.14);color:#176147}
.qc-moderate{background:rgba(190,133,26,.15);color:#75510f}
.qc-low{background:rgba(192,75,69,.14);color:#863631}
.hr-time-series{margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(14,57,78,.14)}
.hr-chart-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.8rem}
.hr-chart-heading h3{margin:.25rem 0 0;font-size:1.45rem}
.hr-chart-legend{display:flex;gap:1rem;flex-wrap:wrap;color:#31596b;font-size:.82rem;font-weight:650}
.hr-chart-legend span{display:flex;align-items:center;gap:.35rem}
.legend-dot{width:.68rem;height:.68rem;border-radius:50%;display:inline-block}
.legend-dot.gps{background:#1976a8}.legend-dot.galileo{background:#23845f}.legend-dot.glonass{background:#c04b45}
.hr-chart-wrap{width:100%;overflow:hidden;border:1px solid rgba(14,57,78,.12);border-radius:14px;background:#fff;padding:.5rem;box-sizing:border-box}
#hr-time-series{display:block;max-width:100%}
@media(max-width:700px){.hr-chart-heading{align-items:flex-start;flex-direction:column}.hr-chart-legend{gap:.7rem}}

/* HR method selector */
.hr-method-selector {
  border: 0;
  padding: 0;
  margin: 0 0 1.25rem;
}
.hr-method-selector legend {
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.hr-method-option {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  margin: 0 0 0.65rem;
  border: 1px solid rgba(23, 92, 121, 0.22);
  border-radius: 14px;
  background: rgba(238, 248, 251, 0.55);
  cursor: pointer;
}
.hr-method-option input {
  margin-top: 0.25rem;
}
.hr-method-option span {
  display: grid;
  gap: 0.25rem;
}
.hr-method-option small {
  font-size: 0.92rem;
  line-height: 1.35;
  color: #496977;
}

/* HR NetCDF date-range selection for long GNSS AIR / CORS files */
.time-window-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(36, 74, 91, 0.16);
  border-radius: 14px;
  background: rgba(240, 247, 249, 0.72);
}
.time-window-panel .coverage-summary {
  margin: 0.2rem 0 0.8rem;
  font-weight: 650;
}
.date-range-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}
@media (max-width: 700px) {
  .date-range-grid { grid-template-columns: 1fr; }
}


/* HR staged activation and optional UTC time-of-day filtering */
.method-step-locked { opacity: .62; }
.method-step-locked .step-number { filter: grayscale(1); }
.hr-method-selector:disabled { cursor: not-allowed; }
.hr-method-selector:disabled .hr-method-option { cursor: not-allowed; opacity: .72; }
#hr-run:disabled { cursor: not-allowed; opacity: .55; }
.time-of-day-selector { margin-top: 1rem; border: 1px solid #d8e6ed; border-radius: 12px; padding: 1rem 1.1rem; }
.time-of-day-selector legend { padding: 0 .35rem; font-weight: 700; }
.time-mode-option { display: flex; align-items: flex-start; gap: .7rem; margin: .55rem 0; cursor: pointer; }
.time-mode-option span { display: grid; gap: .15rem; }
.time-mode-option small { color: #5f7783; font-weight: 400; }
.clock-range-grid { margin-top: .9rem; }

.parameter-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.parameter-fieldset:disabled { cursor: not-allowed; }

/* Keep long monthly CORS outputs compact and scrollable. */
#hr-warnings.orbit-warning{max-height:220px;overflow-y:auto;overflow-x:hidden;padding:1rem 1.1rem;border-radius:12px}
#hr-warnings.orbit-warning p{margin:.25rem 0 .75rem}
.table-scroll .result-table thead th{position:sticky;top:0;z-index:2;background:#fff;box-shadow:0 1px 0 rgba(14,57,78,.14)}

/* SDSU Coastal Engineering Lab section */
.lab-site .lab-main{width:min(1120px,90vw);margin:auto;padding:0 0 5rem}
.lab-site .lab-hero{min-height:72vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;width:min(920px,100%);text-shadow:0 4px 30px rgba(0,0,0,.45)}
.lab-site .lab-page-hero{padding:6rem 0 2rem;max-width:920px}
.lab-site .lab-page-hero h1{font-size:clamp(3rem,8vw,6.3rem);line-height:.95;letter-spacing:-.05em;margin:.35rem 0 1rem;color:#fff}
.lab-site .lab-page-hero p:last-child{font-size:1.2rem;max-width:760px}
.lab-background-shade{background:linear-gradient(180deg,rgba(3,19,30,.50),rgba(3,24,37,.78) 48%,rgba(3,19,30,.95))}
.lab-logo{display:block;width:auto;max-width:100%;filter:drop-shadow(0 7px 24px rgba(0,0,0,.28))}
.lab-logo-hero{width:min(820px,90vw);max-height:190px;object-fit:contain;object-position:left center;margin:.45rem 0 1.5rem}
.lab-logo-subpage{width:min(570px,78vw);max-height:96px;object-fit:contain;object-position:left center;margin:0 0 1.45rem}
.lab-identity-link{display:inline-block;max-width:100%;text-decoration:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lab-subnav{display:flex;gap:.6rem;flex-wrap:wrap;margin:0 0 2rem;padding:.75rem;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(4,31,46,.67);backdrop-filter:blur(14px)}
.lab-subnav a{padding:.6rem .78rem;border-radius:999px;color:rgba(255,255,255,.88);text-decoration:none;font-size:.87rem;font-weight:700}
.lab-subnav a:hover{background:rgba(255,255,255,.11);color:#fff}
.research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}
.research-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.research-card{padding:1.5rem;border-radius:18px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.15);text-decoration:none;display:block;transition:transform .18s ease,background .18s ease}
.research-card small{font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;color:#8ce6f4}
.research-card h3{font-size:1.55rem;margin:.55rem 0;color:#fff}
.research-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.13)}
.topic-list{display:grid;gap:1rem}
.topic-list article{padding:1.25rem 1.35rem;border-radius:17px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.topic-list h3{font-size:1.35rem;margin:.1rem 0 .45rem;color:#fff}
.topic-list p{margin:.2rem 0}
.highlight-research{background:linear-gradient(135deg,rgba(8,122,165,.74),rgba(5,38,56,.84))}
.citation-text{font-size:.92rem;color:rgba(255,255,255,.78)}
.text-link{color:#9deaf5;font-weight:700}
.clean-list{display:grid;gap:.7rem;padding-left:1.25rem;line-height:1.55}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.small-note{font-size:.88rem;color:rgba(255,255,255,.72)}
.button-row{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.1rem}
.secondary-button{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22)}
@media(max-width:820px){.research-grid,.research-grid.three,.contact-grid{grid-template-columns:1fr}.lab-site .lab-page-hero{padding-top:4rem}.lab-logo-hero{width:min(700px,94vw)}.lab-logo-subpage{width:min(500px,90vw)}}

/* SDSU Lab readability and identity */
.lab-scientific-home{
  margin:0 0 .65rem;
  color:#8ce6f4 !important;
  font-weight:800;
}
.research-card{
  color:rgba(255,255,255,.92);
}
.research-card p{
  color:rgba(255,255,255,.92);
}
.research-card:visited{
  color:rgba(255,255,255,.92);
}
.research-card:hover p,
.research-card:focus-visible p{
  color:#fff;
}

/* Shared ESeaLog wordmark across every page. The SVG viewBox includes the g descender. */
.site-banner .logo-link,
body > header .logo-link {
  height: 58px !important;
  min-height: 58px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}
.site-banner .logo-link img,
body > header .logo-link img {
  width: auto !important;
  height: 56px !important;
  max-height: 56px !important;
  max-width: min(285px, 56vw) !important;
  object-fit: contain;
  object-position: left center;
  overflow: visible !important;
}
@media (max-width: 650px) {
  .site-banner .logo-link,
  body > header .logo-link { height: 50px !important; min-height: 50px !important; }
  .site-banner .logo-link img,
  body > header .logo-link img { height: 48px !important; max-height: 48px !important; max-width: 52vw !important; }
}

/* Unified ESeaLog wordmark used on every page. Matches the homepage hero. */
.global-wordmark{
  display:inline-flex;
  align-items:flex-start;
  overflow:visible !important;
  white-space:nowrap;
  text-decoration:none;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(1.72rem,2.15vw,2.15rem);
  font-weight:850;
  line-height:1.18 !important;
  letter-spacing:-.075em;
  padding:.05em .12em .18em 0;
}
.global-wordmark>span{display:inline-block;overflow:visible}
.global-wordmark .wm-metal,
.hero-wordmark .logo-metal{
  color:#aab4bf;
  background:linear-gradient(180deg,#f0f3f6 0%,#aeb8c2 34%,#6f7c88 69%,#aab4bf 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.global-wordmark .wm-sea,
.hero-wordmark .logo-sea{
  color:#61d4ed;
  -webkit-text-fill-color:#61d4ed;
}
/* Give lowercase g room for its descender on every banner. */
.site-banner .logo-link,
.home-header .logo-link,
header .logo-link{overflow:visible !important;min-height:2.7rem}

/* Hero uses the same wordmark treatment at display scale. */
.home-hero .hero-wordmark{
  overflow:visible !important;
  padding-bottom:.16em !important;
  line-height:1.02 !important;
}
.home-hero .hero-wordmark>span{display:inline-block;overflow:visible}


/* Exact ESeaLog header wordmark on every page. SVG guarantees E + Log metallic gray and Sea cyan. */
a.global-wordmark{
  display:flex !important;
  align-items:center !important;
  overflow:visible !important;
  height:56px !important;
  min-height:56px !important;
  padding:0 !important;
  line-height:1 !important;
}
a.global-wordmark img{
  display:block !important;
  width:auto !important;
  height:48px !important;
  max-height:48px !important;
  max-width:min(245px,46vw) !important;
  object-fit:contain !important;
  overflow:visible !important;
}
@media(max-width:650px){
  a.global-wordmark{height:48px !important;min-height:48px !important;}
  a.global-wordmark img{height:42px !important;max-height:42px !important;}
}


/* FINAL HEADER WORDMARK: text spans, never a white inherited brand. */
header a.global-wordmark,
.site-banner a.global-wordmark,
.home-header a.global-wordmark,
body > header a.global-wordmark {
  display:inline-flex !important;
  align-items:baseline !important;
  height:auto !important;
  min-height:0 !important;
  padding:.08em .12em .18em 0 !important;
  margin:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif !important;
  font-size:2rem !important;
  font-weight:850 !important;
  line-height:1.12 !important;
  letter-spacing:-.075em !important;
  color:inherit !important;
}
header a.global-wordmark > span,
.site-banner a.global-wordmark > span,
.home-header a.global-wordmark > span,
body > header a.global-wordmark > span {
  display:inline-block !important;
  overflow:visible !important;
  line-height:1.12 !important;
}
header a.global-wordmark .wm-metal,
.site-banner a.global-wordmark .wm-metal,
.home-header a.global-wordmark .wm-metal,
body > header a.global-wordmark .wm-metal {
  color:#aeb8c2 !important;
  background:linear-gradient(180deg,#eef2f5 0%,#b8c1ca 35%,#7f8b96 74%,#aab4bf 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
}
header a.global-wordmark .wm-sea,
.site-banner a.global-wordmark .wm-sea,
.home-header a.global-wordmark .wm-sea,
body > header a.global-wordmark .wm-sea {
  color:#61d4ed !important;
  background:none !important;
  -webkit-text-fill-color:#61d4ed !important;
}
@media(max-width:650px){
  header a.global-wordmark,
  .site-banner a.global-wordmark,
  .home-header a.global-wordmark,
  body > header a.global-wordmark {font-size:1.7rem !important;}
}

/* Global language selector */
.esealog-language-picker{margin-left:auto;display:flex;align-items:center;position:relative;z-index:30}
.esealog-language-picker select{appearance:auto;background:rgba(7,22,34,.86);color:#eaf6fb;border:1px solid rgba(109,216,239,.42);border-radius:8px;padding:7px 10px;font:600 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-width:104px;cursor:pointer}
.esealog-language-picker select:focus{outline:2px solid rgba(105,216,239,.5);outline-offset:2px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.esealog-language-picker{margin-left:8px}.esealog-language-picker select{min-width:82px;padding:6px 7px;font-size:11px}}

/* v22 language picker spacing */
header.site-banner, header.home-header, body > header{gap:1.25rem}
.esealog-language-picker{margin-left:1.25rem !important; flex:0 0 auto}
.esealog-language-picker::before{content:'Language';color:#eaf6fb;font-weight:650;font-size:.9rem;margin-right:.55rem;white-space:nowrap}
@media(max-width:900px){.esealog-language-picker{margin-left:.6rem !important}.esealog-language-picker::before{display:none}}


/* v24: opt-in sharing of local GNSS AIR HR results */
.hr-share-section{margin-top:24px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
.hr-share-section h3{margin:.15rem 0 .5rem}.hr-share-section textarea,.hr-share-section select{width:100%;box-sizing:border-box}
.hr-share-section label{display:grid;gap:7px;margin:12px 0;font-weight:700}.hr-share-consent{display:flex!important;grid-template-columns:auto 1fr;align-items:flex-start;gap:9px!important;font-weight:600!important}.hr-share-consent input{width:auto!important;margin-top:4px}.hr-share-section .optional{font-weight:400;opacity:.7}
/* SDSU Lab featured research refresh v32 */
.section-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.2rem}
.feature-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.feature-mini-card{display:block;padding:1.15rem;border-radius:18px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.065);color:#fff;text-decoration:none;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.feature-mini-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.1);border-color:rgba(105,216,239,.45)}
.feature-mini-card strong{display:block;font-size:1.1rem;line-height:1.25;margin:.35rem 0 .55rem}.feature-mini-card p{margin:0;color:rgba(235,246,251,.82);font-size:.92rem;line-height:1.5}.feature-mini-kicker{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:#69d8ef;font-weight:800}
.feature-research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem}.feature-research-card{overflow:hidden;border-radius:22px;border:1px solid rgba(255,255,255,.15);background:rgba(4,31,46,.76)}.feature-research-card .feature-media{width:100%;height:290px;display:block;object-fit:cover;background:#061f30}.feature-body{padding:1.35rem 1.4rem 1.5rem}.feature-body h2{font-size:1.65rem;margin:.2rem 0 .7rem}.feature-body p{color:rgba(239,248,252,.86)}
.feature-media-swot{height:290px!important;background:radial-gradient(circle at 70% 30%,rgba(105,216,239,.42),transparent 32%),linear-gradient(145deg,#063149,#071d2c);display:flex!important;align-items:center;justify-content:center;flex-direction:column;color:#fff}.feature-media-swot span{font-size:4rem;font-weight:900;letter-spacing:-.06em}.feature-media-swot small{text-transform:uppercase;letter-spacing:.16em;color:#69d8ef;font-weight:800}
.feature-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:1.6rem;align-items:center}.feature-figure{margin:0}.feature-figure img{width:100%;max-height:460px;object-fit:contain;border-radius:18px;background:rgba(2,18,28,.7);border:1px solid rgba(255,255,255,.12)}.feature-figure figcaption,.gif-pair figcaption{font-size:.78rem;color:rgba(225,239,245,.68);margin-top:.45rem}
.gif-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.gif-pair figure{margin:0}.gif-pair img{width:100%;height:230px;object-fit:contain;border-radius:15px;background:rgba(2,18,28,.72);border:1px solid rgba(255,255,255,.12)}.gif-pair-wide{margin-top:1.15rem}.gif-pair-wide img{height:300px}
@media(max-width:1050px){.feature-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-split{grid-template-columns:1fr}.feature-research-grid{grid-template-columns:1fr}}
@media(max-width:650px){.feature-mini-grid,.gif-pair{grid-template-columns:1fr}.section-heading-row{display:block}.section-heading-row .text-link{display:inline-block;margin-top:.8rem}.feature-research-card .feature-media,.feature-media-swot{height:230px!important}.gif-pair img,.gif-pair-wide img{height:auto;max-height:320px}}

/* v33 SDSU Lab: clean featured research and publication layout */
.lab-featured-clean .clean-text-link{color:#8ee8f6!important;text-decoration:none!important;font-weight:800}.lab-featured-clean .clean-text-link:hover{text-decoration:underline!important}
.featured-study-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.featured-study-card{padding:1.35rem 1.4rem;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));box-shadow:0 12px 30px rgba(0,10,18,.16)}.featured-study-card h3{margin:.35rem 0 .6rem;color:#fff;font-size:1.28rem;line-height:1.25}.featured-study-card>p:not(.feature-mini-kicker){margin:0 0 1rem;color:rgba(237,247,251,.82);line-height:1.52}.study-links{display:flex;flex-wrap:wrap;gap:.65rem}.study-links a{display:inline-flex;align-items:center;padding:.55rem .8rem;border-radius:999px;border:1px solid rgba(105,216,239,.34);background:rgba(105,216,239,.08);color:#9aebf7!important;text-decoration:none!important;font-size:.84rem;font-weight:800}.study-links a:hover{background:rgba(105,216,239,.16);border-color:rgba(105,216,239,.6)}
.research-highlight-list{display:grid;gap:1rem}.research-highlight-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.4rem;align-items:center;padding:1.35rem 1.4rem;border-radius:18px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.055)}.research-highlight-row h3{margin:.32rem 0 .55rem;color:#fff;font-size:1.3rem}.research-highlight-row p:not(.feature-mini-kicker){margin:0;color:rgba(238,247,251,.82);line-height:1.52}.research-highlight-actions{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}.research-highlight-actions .button{white-space:nowrap}.publication-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.publication-group{padding:1.25rem 1.35rem;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.11)}.publication-group h3{margin:0 0 .75rem;color:#fff;font-size:1.15rem}.publication-group ul{margin:0;padding-left:1.25rem}.publication-group li{margin:.68rem 0;color:rgba(238,247,251,.82);line-height:1.5}.publication-group em{color:#bfeef6}.publication-library h2,.research-publication-section h2{margin-top:.2rem}
@media(max-width:850px){.featured-study-grid,.publication-groups{grid-template-columns:1fr}.research-highlight-row{grid-template-columns:1fr}.research-highlight-actions{justify-content:flex-start}}


/* v34 SDSU Lab research hierarchy */
.lab-featured-v34 .feature-section-head,.research-v34 .feature-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.4rem}.feature-section-intro{max-width:760px;margin:.35rem 0 0;color:rgba(236,247,251,.72);line-height:1.55}.feature-library-link{display:inline-flex;align-items:center;color:#9beaf6!important;text-decoration:none!important;font-weight:800;white-space:nowrap;padding:.5rem 0}.feature-library-link:hover{text-decoration:underline!important}
.feature-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.feature-topic-card{position:relative;display:flex;flex-direction:column;min-height:250px;padding:1.45rem 1.5rem;border-radius:20px;border:1px solid rgba(134,220,238,.18);background:linear-gradient(155deg,rgba(29,66,83,.78),rgba(11,42,57,.8));box-shadow:0 14px 32px rgba(0,9,16,.16)}.feature-topic-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:20px 0 0 20px;background:linear-gradient(180deg,#69d8ef,rgba(105,216,239,.16))}.feature-topic-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}.feature-topic-tag{margin:0;color:#7fe3f4;font-size:.72rem;line-height:1.2;font-weight:850;text-transform:uppercase;letter-spacing:.13em}.feature-topic-number{font-size:.74rem;color:rgba(226,241,247,.44);font-weight:800;letter-spacing:.12em}.feature-topic-card h3{margin:.72rem 0 .65rem;color:#fff;font-size:1.3rem;line-height:1.28}.feature-topic-card>p{margin:0 0 1.2rem;color:rgba(239,248,252,.8);line-height:1.55}.feature-topic-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:auto}.feature-topic-actions a{display:inline-flex;align-items:center;justify-content:center;padding:.58rem .88rem;border-radius:999px;text-decoration:none!important;font-size:.84rem;font-weight:850;color:#eaf9fc!important;border:1px solid rgba(105,216,239,.36);background:rgba(105,216,239,.11)}.feature-topic-actions a:first-child{background:#128db8;border-color:#128db8;color:white!important}.feature-topic-actions a:hover{filter:brightness(1.12)}
.publication-library-v34 .publication-head-v34{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.35rem}.publication-head-v34>p{max-width:520px;margin:0;color:rgba(235,246,251,.68);text-align:right}.publication-topic-stack{display:grid;gap:1rem}.publication-topic-card{padding:1.35rem 1.45rem;border-radius:20px;border:1px solid rgba(255,255,255,.11);background:rgba(7,37,52,.68)}.publication-topic-title{display:flex;gap:1rem;align-items:flex-start;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:.25rem}.publication-index{display:flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;flex:0 0 auto;border-radius:50%;background:rgba(105,216,239,.11);border:1px solid rgba(105,216,239,.27);color:#8ce8f7;font-size:.72rem;font-weight:900;letter-spacing:.08em}.publication-topic-title h3{margin:.25rem 0 0;color:#fff;font-size:1.22rem}.publication-entries{display:grid}.publication-entries article{display:grid;grid-template-columns:64px minmax(0,1fr);gap:1rem;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.07)}.publication-entries article:last-child{border-bottom:0;padding-bottom:.2rem}.pub-year{display:inline-flex;align-items:flex-start;justify-content:center;padding:.32rem .5rem;border-radius:999px;background:rgba(255,255,255,.06);color:#9eeaf6;font-size:.78rem;font-weight:850}.publication-entries strong{color:#f6fbfd;font-weight:760}.publication-entries p{margin:.22rem 0 0;color:rgba(236,246,250,.77);line-height:1.5}.publication-entries em{color:#c9eef5}
@media(max-width:850px){.feature-topic-grid{grid-template-columns:1fr}.lab-featured-v34 .feature-section-head,.research-v34 .feature-section-head,.publication-library-v34 .publication-head-v34{display:block}.feature-library-link{margin-top:.7rem}.publication-head-v34>p{text-align:left;margin-top:.55rem}.publication-entries article{grid-template-columns:1fr;gap:.45rem}.pub-year{justify-self:start}}


/* v35 SDSU Lab media timeline */
.lab-media-v35 .media-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.4rem}.lab-media-v35 .media-intro{max-width:850px;color:rgba(237,247,251,.76);line-height:1.58;margin:.35rem 0 0}.media-year-stack{display:grid;gap:1.4rem}.media-year-block{display:grid;grid-template-columns:92px minmax(0,1fr);gap:1.3rem;align-items:start;padding-top:1.35rem;border-top:1px solid rgba(143,226,242,.16)}.media-year-block:first-child{border-top:0;padding-top:.25rem}.media-year{font-size:.82rem;font-weight:900;letter-spacing:.12em;color:#8fe2f2;padding-top:.25rem}.media-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.media-card{display:block;padding:1.15rem 1.2rem;border-radius:17px;background:rgba(255,255,255,.052);border:1px solid rgba(255,255,255,.11);text-decoration:none!important;color:#f2f8fb!important;transition:background .16s ease,border-color .16s ease,transform .16s ease}.media-card:hover{background:rgba(255,255,255,.085);border-color:rgba(143,226,242,.35);transform:translateY(-1px)}.media-card-feature{border-left:3px solid #75dff0}.media-card .media-outlet{display:block;color:#8fe2f2;font-size:.75rem;letter-spacing:.105em;text-transform:uppercase;font-weight:900;margin-bottom:.5rem}.media-card h3{font-size:1.12rem;line-height:1.28;margin:0 0 .55rem;color:#fff}.media-card p{margin:0;color:rgba(237,247,251,.78);line-height:1.5}.media-link{display:inline-block;margin-top:.8rem;color:#9aeaf6;font-weight:800;font-size:.9rem}.media-note{display:inline-block;margin-top:.8rem;color:rgba(237,247,251,.5);font-size:.82rem;font-style:italic}@media(max-width:850px){.media-year-block{grid-template-columns:1fr}.media-year{padding-top:0}.media-cards{grid-template-columns:1fr}}

/* v36 SDSU Lab members */
.members-section-v36{padding-top:2rem}.members-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.25rem}.members-section-head>p{max-width:520px;margin:0;color:rgba(235,246,251,.68);text-align:right}.member-grid-v36{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.member-card-v36{position:relative;min-height:165px;padding:1.25rem 1.3rem;border-radius:18px;background:linear-gradient(150deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.12)}.current-member{border-top:3px solid rgba(105,216,239,.78)}.alumni-member{border-top:3px solid rgba(222,28,55,.72)}.member-role{color:#8fe5f4;font-size:.74rem;font-weight:900;letter-spacing:.095em;text-transform:uppercase}.member-card-v36 h3{margin:.55rem 0 .45rem;color:#fff;font-size:1.18rem}.member-card-v36 p{margin:0;color:rgba(238,247,251,.78);line-height:1.5}.compact-members{grid-template-columns:minmax(260px,440px)}.member-list-v36{display:grid;gap:.7rem}.two-col-members{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.member-list-v36 article{display:grid;grid-template-columns:84px minmax(0,1fr);gap:1rem;padding:1rem 1.05rem;border-radius:15px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09)}.member-year{align-self:start;display:inline-flex;justify-content:center;padding:.34rem .48rem;border-radius:999px;background:rgba(105,216,239,.09);color:#91e6f4;font-size:.75rem;font-weight:850;white-space:nowrap}.member-list-v36 h3{margin:0 0 .28rem;color:#fff;font-size:1.02rem}.member-list-v36 p{margin:0;color:rgba(237,247,251,.76);line-height:1.45}.members-source-note{max-width:1120px;margin:0 auto 3rem;color:rgba(235,246,251,.52);font-size:.82rem;line-height:1.5}.lab-members-preview-v36 .members-preview-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.15rem}.lab-members-preview-v36 .members-preview-head p:not(.eyebrow){max-width:760px;color:rgba(235,246,251,.7)}.members-preview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.members-preview-grid article{padding:1rem;border-radius:15px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.09)}.members-preview-grid strong{display:block;color:#fff;font-size:.96rem}.members-preview-grid span{display:block;margin:.3rem 0;color:#8fe5f4;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.members-preview-grid p{margin:0;color:rgba(237,247,251,.7);font-size:.86rem;line-height:1.4}@media(max-width:1050px){.member-grid-v36{grid-template-columns:repeat(2,minmax(0,1fr))}.members-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.members-section-head,.lab-members-preview-v36 .members-preview-head{display:block}.members-section-head>p{text-align:left;margin-top:.5rem}.member-grid-v36,.two-col-members,.members-preview-grid{grid-template-columns:1fr}.member-list-v36 article{grid-template-columns:1fr;gap:.45rem}.member-year{justify-self:start}}


/* v37 PTHA research program */
.ptha-program-v37{background:linear-gradient(155deg,rgba(7,45,63,.9),rgba(5,30,44,.91))}.ptha-intro-v37{max-width:980px;margin-bottom:1.5rem}.ptha-intro-v37 h2{font-size:clamp(1.8rem,3vw,2.55rem);margin:.3rem 0 .75rem}.ptha-intro-v37>p:last-child{color:rgba(239,248,252,.82);line-height:1.62}
.ptha-paper-stack-v37{display:grid;gap:.8rem}.ptha-paper-v37{display:grid;grid-template-columns:86px minmax(0,1fr);gap:1.25rem;padding:1.2rem 1.3rem;border-radius:18px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045)}.ptha-paper-feature-v37{border-color:rgba(105,216,239,.28);background:linear-gradient(145deg,rgba(17,82,105,.38),rgba(255,255,255,.04))}.ptha-paper-year{font-size:1.15rem;font-weight:900;color:#8fe7f5;padding-top:.18rem}.ptha-paper-main h3{font-size:1.3rem;margin:.28rem 0 .55rem;color:#fff}.ptha-paper-main>p:not(.feature-topic-tag){margin:.22rem 0;color:rgba(239,248,252,.81);line-height:1.52}.ptha-citation-v37{font-size:.9rem!important;color:rgba(211,234,242,.67)!important}.compact-button{display:inline-flex!important;margin-top:.75rem;padding:.55rem .85rem!important;font-size:.84rem!important}
.ptha-wide-figure-v37{margin:1rem 0 1.35rem;padding:1rem;border-radius:20px;background:rgba(2,18,28,.52);border:1px solid rgba(255,255,255,.1)}.ptha-wide-figure-v37 img{display:block;width:min(100%,930px);max-height:620px;object-fit:contain;margin:auto;border-radius:12px;background:#fff}.ptha-wide-figure-v37 figcaption,.ptha-figure-grid-v37 figcaption{margin-top:.65rem;color:rgba(222,240,246,.7);font-size:.82rem;line-height:1.45}
.ptha-figure-grid-v37{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.4rem}.ptha-figure-grid-v37 figure{margin:0;padding:1rem;border-radius:20px;background:rgba(2,18,28,.52);border:1px solid rgba(255,255,255,.1)}.ptha-figure-grid-v37 img{display:block;width:100%;height:430px;object-fit:contain;border-radius:12px;background:#fff}
@media(max-width:850px){.ptha-paper-v37{grid-template-columns:1fr;gap:.35rem}.ptha-figure-grid-v37{grid-template-columns:1fr}.ptha-figure-grid-v37 img{height:auto;max-height:520px}}


/* v38 SWOT research video */
.swot-video-v38{margin:1.35rem 0 0;max-width:980px;padding:1rem;border-radius:20px;background:rgba(2,18,28,.52);border:1px solid rgba(255,255,255,.10)}
.swot-video-v38 video{display:block;width:100%;height:auto;max-height:70vh;border-radius:12px;background:#020d14}
.swot-video-v38 figcaption{margin:.7rem .15rem .1rem;color:rgba(222,240,246,.72);font-size:.84rem;line-height:1.45}

/* v39 research hierarchy */
.research-directory-v39 .feature-section-intro{max-width:850px;margin-bottom:1.25rem}
.research-directory-grid-v39 .research-card{position:relative;min-height:235px;display:flex;flex-direction:column}
.research-directory-grid-v39 .research-card span{margin-top:auto;color:#84e5f5;font-weight:850;font-size:.9rem}
.research-featured-lower-v39{margin-top:1.4rem}
.survey-split-v39{align-items:center}
.survey-photo-v39{max-width:420px;justify-self:end}
.survey-photo-v39 img{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:14px;background:#eef4f6}
.survey-photo-v39 figcaption{margin-top:.55rem;color:rgba(229,243,248,.7);font-size:.82rem;line-height:1.35}
.other-studies-v39 .topic-list article{border-left:3px solid rgba(105,216,239,.5)}
.research-return-v39{display:flex;flex-direction:column;align-items:flex-start}
@media(max-width:850px){.survey-photo-v39{max-width:none;justify-self:stretch}.survey-photo-v39 img{max-height:360px}}

/* v39b: larger ESeaLog wordmark in all top banners */
header a.global-wordmark,
.site-banner a.global-wordmark,
.home-header a.global-wordmark,
body > header a.global-wordmark {
  font-size:2.55rem !important;
  line-height:1.08 !important;
  padding:.06em .14em .16em 0 !important;
}
@media(max-width:900px){
  header a.global-wordmark,
  .site-banner a.global-wordmark,
  .home-header a.global-wordmark,
  body > header a.global-wordmark {font-size:2.2rem !important;}
}
@media(max-width:650px){
  header a.global-wordmark,
  .site-banner a.global-wordmark,
  .home-header a.global-wordmark,
  body > header a.global-wordmark {font-size:1.95rem !important;}
}

/* v41 compact contributor summary beside signed-in username */
.auth-rank-summary{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:.28rem .55rem;
  margin-left:-.65rem;
  border-radius:999px;
  border:1px solid rgba(134,228,244,.24);
  background:rgba(134,228,244,.08);
  color:#aeeaf4;
  font-size:.72rem;
  font-weight:760;
  line-height:1;
  letter-spacing:.005em;
}
.auth-rank-steel{color:#c5d0d5;border-color:rgba(197,208,213,.24);background:rgba(197,208,213,.08)}
.auth-rank-bronze{color:#e1aa79;border-color:rgba(225,170,121,.28);background:rgba(154,98,56,.14)}
.auth-rank-silver{color:#d8e2e7;border-color:rgba(216,226,231,.28);background:rgba(185,195,201,.1)}
.auth-rank-gold{color:#f1cf64;border-color:rgba(241,207,100,.3);background:rgba(223,179,55,.1)}
.auth-rank-platinum{color:#c9f4fa;border-color:rgba(201,244,250,.32);background:rgba(117,216,233,.11)}
@media(max-width:900px){.auth-rank-summary{font-size:.68rem;margin-left:0}}
@media(max-width:650px){.auth-rank-summary{display:none}}

/* v42 stronger contributor badge in global header */
.auth-rank-summary{font-size:.86rem;font-weight:850;padding:.43rem .72rem;margin-left:.05rem;border-width:1px;box-shadow:inset 0 1px rgba(255,255,255,.14),0 3px 12px rgba(0,0,0,.16)}
.auth-rank-steel{color:#eef3f5;border-color:#9aa9af;background:linear-gradient(135deg,rgba(82,94,100,.78),rgba(145,158,164,.48))}
.auth-rank-bronze{color:#fff0e1;border-color:#c9854e;background:linear-gradient(135deg,rgba(112,66,37,.86),rgba(184,113,63,.58))}
.auth-rank-silver{color:#102a36;border-color:#d5e0e5;background:linear-gradient(135deg,#9faeb6,#e6edf0 58%,#b7c4ca)}
.auth-rank-gold{color:#2b2208;border-color:#f1cd54;background:linear-gradient(135deg,#b07b0e,#f3ce55 58%,#c9951e)}
.auth-rank-platinum{color:#102a36;border-color:#c9f5fb;background:linear-gradient(135deg,#a6c9d4,#f4fdff 52%,#7bd9e8)}
.auth-rank-unranked{color:#b8cbd2;border-color:rgba(184,203,210,.28);background:rgba(126,153,163,.14)}


/* v44 Adopt-a-Location */
.adopt-program-panel{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:44px;align-items:center}
.adopt-program-panel h2{font-size:clamp(2rem,3vw,3.25rem);margin:.25rem 0 1rem}
.adopt-program-note{color:#b9d1d8;font-size:.95rem}
.adopt-program-points{display:grid;gap:12px}
.adopt-program-points>div{padding:18px 20px;border:1px solid rgba(94,210,232,.22);border-radius:16px;background:rgba(7,30,42,.34)}
.adopt-program-points strong{display:block;color:#77deef;font-size:1.05rem;margin-bottom:4px}
.adopt-program-points span{color:#d7e6ea;line-height:1.45}
@media(max-width:800px){.adopt-program-panel{grid-template-columns:1fr;gap:24px}}

/* v45 district / municipality classification */
.console-share-row{display:flex;justify-content:center;margin-top:28px}
.console-share-button{font-size:1.08rem;padding:16px 30px;min-width:min(420px,100%);text-align:center}
.admin-area-result{display:flex;flex-direction:column;gap:4px;border:1px solid rgba(91,211,233,.25);background:rgba(91,211,233,.07);border-radius:12px;padding:12px 14px;margin:4px 0 10px}
.admin-area-result strong,.location-admin-area{color:#7fe3f2}
.admin-area-result span{color:#e5f3f6}
.admin-area-result small{color:#91aab2;font-size:.76rem}
.location-admin-area{font-weight:700;margin:.25rem 0 1rem}
.admin-area-group{margin:10px 0 16px;padding-top:6px;border-top:1px solid rgba(255,255,255,.07)}
.admin-area-group-title{font-size:.82rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#7fe3f2;margin:8px 4px}
.level-station-filter{display:block;margin:14px 0 10px;color:#dfeef2;font-weight:700}
.level-station-filter select{display:block;width:100%;margin-top:6px}
.station-review-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr);gap:20px;margin-top:18px}
.station-review-detail{border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:18px;background:rgba(4,25,36,.42)}
.station-review-form{display:grid;gap:12px}
.station-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.station-review-map{height:280px;border-radius:12px;overflow:hidden;margin:8px 0}
@media(max-width:900px){.station-review-layout,.station-review-grid{grid-template-columns:1fr}}


/* v58 feedback notifications */
.feedback-center{display:inline-flex;align-items:center;gap:.35rem;margin-left:.15rem;position:relative;vertical-align:middle}
.feedback-control-wrap{position:relative;display:inline-flex}
.feedback-icon-button{position:relative;display:inline-grid;place-items:center;width:2.05rem;height:2.05rem;padding:0;border:1px solid rgba(116,218,239,.34);border-radius:999px;background:rgba(7,32,43,.72);color:#d8f7ff;cursor:pointer}
.feedback-icon-button:hover,.feedback-icon-button[aria-expanded="true"]{background:rgba(44,185,218,.15);border-color:rgba(116,218,239,.72)}
.feedback-icon{display:grid;place-items:center;width:1.05rem;height:1.05rem}
.feedback-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.feedback-badge{position:absolute;top:-.34rem;right:-.34rem;min-width:1.1rem;height:1.1rem;padding:0 .25rem;border-radius:999px;background:#ef767a;color:#071a23;font-size:.68rem;line-height:1.1rem;font-weight:800;text-align:center;box-shadow:0 0 0 2px #082531}
.feedback-popover{position:absolute;z-index:3000;top:calc(100% + .65rem);right:0;width:min(22rem,82vw);max-height:25rem;overflow:auto;padding:.65rem;background:#0b2b38;border:1px solid rgba(116,218,239,.32);border-radius:.9rem;box-shadow:0 18px 48px rgba(0,0,0,.38);text-align:left}
.feedback-popover-heading{padding:.25rem .35rem .55rem;color:#79ddef;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.feedback-item{display:grid;grid-template-columns:1fr auto;gap:.15rem .55rem;padding:.65rem .7rem;border-radius:.7rem;color:#edf8fb;text-decoration:none;border:1px solid transparent}
.feedback-item+.feedback-item{border-top-color:rgba(255,255,255,.08);border-top-left-radius:0;border-top-right-radius:0}
.feedback-item:hover{background:rgba(255,255,255,.055);border-color:rgba(116,218,239,.18)}
.feedback-item-area{grid-column:1;font-weight:800;color:#fff}
.feedback-item-kind{grid-column:1;font-size:.8rem;color:#79ddef;font-weight:700}
.feedback-item-post{grid-column:1;font-size:.82rem;line-height:1.3;color:#c5d7dd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feedback-item-time{grid-column:2;grid-row:1 / span 2;align-self:start;font-size:.72rem;color:#90aab3;white-space:nowrap}
.feedback-empty{padding:.85rem .7rem;color:#9db1b8;font-size:.85rem}
@media(max-width:900px){.feedback-popover{position:fixed;top:5rem;right:1rem;left:1rem;width:auto}.feedback-center{margin-left:0}}

/* v59: give the Home latest-observation CTA breathing room. */
.latest-share-button{margin-top:1.35rem!important;}
.home-recent-grid + .latest-share-button{margin-top:1.35rem!important;}

/* v63: private community data. Avoid flashing protected content while auth is checked. */
html.auth-checking body { visibility: hidden; }

/* v67 SDSU Coastal Engineering Lab: SDSU red visual identity.
   Scoped to .lab-site so ESeaLog community pages keep their blue/cyan palette. */
.lab-site{
  --lab-red-deep:#4a0712;
  --lab-red-dark:#68101e;
  --lab-red:#a6192e;
  --lab-red-bright:#c92f45;
  --lab-red-soft:#e86b7d;
  --lab-red-pale:#f3a6b1;
  --lab-ink:#24040a;
}
.lab-site .site-background-shade,
.lab-site .lab-background-shade{
  background:linear-gradient(180deg,rgba(35,3,9,.48),rgba(74,7,18,.74) 48%,rgba(27,2,7,.94));
}
.lab-site .home-header{
  background:rgba(69,7,17,.74);
  border-bottom-color:rgba(232,107,125,.26);
}
.lab-site .home-header nav a:hover,
.lab-site .home-header nav a:focus-visible{color:var(--lab-red-pale)}
.lab-site .glass-section{
  background:linear-gradient(150deg,rgba(83,10,24,.84),rgba(48,5,14,.82));
  border-color:rgba(232,107,125,.25);
  box-shadow:0 20px 60px rgba(34,2,8,.34);
}
.lab-site .home-hero .eyebrow,
.lab-site .glass-section .eyebrow,
.lab-site .lab-scientific-home,
.lab-site .research-card small,
.lab-site .feature-mini-kicker,
.lab-site .feature-topic-tag,
.lab-site .media-year,
.lab-site .media-card .media-outlet,
.lab-site .member-role,
.lab-site .members-preview-grid span,
.lab-site .ptha-paper-year{
  color:var(--lab-red-pale)!important;
}
.lab-site .lab-subnav{
  background:rgba(73,7,18,.78);
  border-color:rgba(232,107,125,.25);
}
.lab-site .lab-subnav a:hover,
.lab-site .lab-subnav a:focus-visible{
  background:rgba(232,107,125,.18);
  color:#fff;
}
.lab-site .research-card,
.lab-site .feature-mini-card,
.lab-site .member-card-v36,
.lab-site .members-preview-grid article,
.lab-site .member-list-v36 article,
.lab-site .media-card,
.lab-site .topic-list article,
.lab-site .featured-study-card,
.lab-site .ptha-paper-v37{
  background:linear-gradient(145deg,rgba(166,25,46,.14),rgba(72,7,18,.20));
  border-color:rgba(232,107,125,.20);
}
.lab-site .research-card:hover,
.lab-site .feature-mini-card:hover,
.lab-site .media-card:hover{
  background:linear-gradient(145deg,rgba(201,47,69,.23),rgba(89,10,23,.26));
  border-color:rgba(243,166,177,.45);
}
.lab-site .highlight-research,
.lab-site .ptha-program-v37{
  background:linear-gradient(145deg,rgba(137,15,35,.88),rgba(60,5,15,.91));
}
.lab-site .feature-research-card{
  background:rgba(70,7,18,.80);
  border-color:rgba(232,107,125,.22);
}
.lab-site .feature-media-swot{
  background:radial-gradient(circle at 70% 30%,rgba(232,107,125,.38),transparent 32%),linear-gradient(145deg,#731022,#2f050d);
}
.lab-site .feature-media-swot small{color:var(--lab-red-pale)}
.lab-site .text-link,
.lab-site .clean-text-link,
.lab-site .feature-library-link,
.lab-site .feature-topic-actions a,
.lab-site .media-link,
.lab-site .research-directory-grid-v39 .research-card span{
  color:var(--lab-red-pale)!important;
}
.lab-site .button,
.lab-site a.button,
.lab-site button:not(.secondary-button){
  background:linear-gradient(135deg,var(--lab-red),var(--lab-red-bright));
  border-color:rgba(255,255,255,.16);
  color:#fff;
}
.lab-site .button:hover,
.lab-site a.button:hover,
.lab-site button:not(.secondary-button):hover{
  background:linear-gradient(135deg,var(--lab-red-bright),#df5267);
}
.lab-site .secondary-button{
  background:rgba(166,25,46,.18);
  border-color:rgba(232,107,125,.34);
}
.lab-site .media-year-block{border-top-color:rgba(232,107,125,.20)}
.lab-site .media-card-feature{border-left-color:var(--lab-red-soft)}
.lab-site .current-member,
.lab-site .alumni-member{border-top-color:rgba(232,107,125,.78)}
.lab-site .member-year,
.lab-site .pub-year{
  background:rgba(166,25,46,.18);
  color:var(--lab-red-pale);
}
.lab-site .ptha-paper-feature-v37{
  border-color:rgba(232,107,125,.32);
  background:linear-gradient(145deg,rgba(166,25,46,.30),rgba(255,255,255,.035));
}
.lab-site .other-studies-v39 .topic-list article{border-left-color:rgba(232,107,125,.62)}
.lab-site .feature-figure img,
.lab-site .gif-pair img,
.lab-site .ptha-wide-figure-v37,
.lab-site .ptha-figure-grid-v37 figure,
.lab-site .swot-video-v38{
  border-color:rgba(232,107,125,.19);
}
.lab-site .home-footer{
  background:rgba(34,3,9,.90);
  border-top:1px solid rgba(232,107,125,.16);
}

/* v68 SDSU Coastal Engineering Lab: softer SDSU red + graphite palette.
   Red is now an accent rather than the dominant surface color.
   Scoped to .lab-site only. */
.lab-site{
  --lab-red-deep:#4b2028;
  --lab-red-dark:#67303a;
  --lab-red:#8f3041;
  --lab-red-bright:#a94455;
  --lab-red-soft:#c77b87;
  --lab-red-pale:#e2b7be;
  --lab-gray-950:#17191d;
  --lab-gray-900:#20242a;
  --lab-gray-850:#282d34;
  --lab-gray-800:#313740;
  --lab-gray-700:#454c56;
  --lab-ink:#15171a;
}
.lab-site .site-background-shade,
.lab-site .lab-background-shade{
  background:linear-gradient(180deg,rgba(18,20,24,.34),rgba(32,28,31,.58) 48%,rgba(17,18,21,.86));
}
.lab-site .home-header{
  background:rgba(28,30,34,.84);
  border-bottom-color:rgba(199,123,135,.18);
}
.lab-site .glass-section{
  background:linear-gradient(150deg,rgba(42,45,51,.90),rgba(27,29,34,.90));
  border-color:rgba(255,255,255,.10);
  box-shadow:0 20px 54px rgba(0,0,0,.24);
}
.lab-site .lab-subnav{
  background:rgba(35,38,43,.86);
  border-color:rgba(255,255,255,.10);
}
.lab-site .lab-subnav a:hover,
.lab-site .lab-subnav a:focus-visible{
  background:rgba(143,48,65,.17);
}
.lab-site .research-card,
.lab-site .feature-mini-card,
.lab-site .member-card-v36,
.lab-site .members-preview-grid article,
.lab-site .member-list-v36 article,
.lab-site .media-card,
.lab-site .topic-list article,
.lab-site .featured-study-card,
.lab-site .ptha-paper-v37{
  background:linear-gradient(145deg,rgba(50,55,63,.90),rgba(34,38,44,.92));
  border-color:rgba(255,255,255,.10);
}
.lab-site .research-card:hover,
.lab-site .feature-mini-card:hover,
.lab-site .media-card:hover{
  background:linear-gradient(145deg,rgba(61,66,75,.94),rgba(40,44,51,.95));
  border-color:rgba(199,123,135,.30);
}
.lab-site .highlight-research,
.lab-site .ptha-program-v37{
  background:linear-gradient(145deg,rgba(58,54,58,.94),rgba(34,35,40,.95));
  border-color:rgba(169,68,85,.24);
}
.lab-site .feature-research-card{
  background:rgba(38,42,48,.92);
  border-color:rgba(255,255,255,.10);
}
/* Video/visual feature surfaces use neutral graphite, not red. */
.lab-site .feature-media-swot,
.lab-site .swot-video-v38{
  background:linear-gradient(145deg,#3a3f46,#24282e)!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.24);
}
.lab-site .swot-video-v38 video{
  background:#25292f;
}
.lab-site .feature-media-swot small{color:#d7dce2!important}
.lab-site .button,
.lab-site a.button,
.lab-site button:not(.secondary-button){
  background:linear-gradient(135deg,#7d2d3a,#9a4050);
  border-color:rgba(255,255,255,.12);
}
.lab-site .button:hover,
.lab-site a.button:hover,
.lab-site button:not(.secondary-button):hover{
  background:linear-gradient(135deg,#8f3544,#aa5361);
}
.lab-site .secondary-button{
  background:rgba(143,48,65,.12);
  border-color:rgba(199,123,135,.24);
}
.lab-site .media-year-block{border-top-color:rgba(255,255,255,.10)}
.lab-site .media-card-feature{border-left-color:#a94a59}
.lab-site .current-member,
.lab-site .alumni-member{border-top-color:rgba(169,68,85,.56)}
.lab-site .member-year,
.lab-site .pub-year{
  background:rgba(143,48,65,.12);
  color:#ddb6bd;
}

/* v69 Lab research media refinements */
.lab-site .gif-pair-top{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  align-items:start;
}
.lab-site .gif-pair-top figure{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.lab-site .gif-pair-top img{
  width:100%;
  height:285px;
  padding:.35rem;
  object-fit:contain;
  object-position:center;
  background:#2b2f35;
  border-radius:15px;
}
.lab-site .volcanic-feature .feature-split{
  grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);
  align-items:start;
}
.lab-site .survey-feature-v39 .feature-figure img{
  max-height:560px;
  object-fit:contain;
  background:#2b2f35;
}
.lab-site .ptha-wide-figure-v37 img{
  width:100%;
  max-width:1100px;
  max-height:700px;
}
@media(max-width:900px){
  .lab-site .volcanic-feature .feature-split{grid-template-columns:1fr}
  .lab-site .gif-pair-top img{height:250px}
}
@media(max-width:650px){
  .lab-site .gif-pair-top{grid-template-columns:1fr}
  .lab-site .gif-pair-top img{height:auto;max-height:340px}
}

/* v70 — responsive global header: designed to remain clean at 100% browser zoom. */
.site-banner,
.home-header,
.map-header {
  flex-wrap: nowrap;
  min-width: 0;
}
.site-banner .primary-nav,
.home-header .primary-nav,
.map-header .primary-nav {
  flex-wrap: nowrap;
  min-width: 0;
}
.site-banner .primary-nav > *,
.home-header .primary-nav > *,
.map-header .primary-nav > * {
  flex: 0 0 auto;
}

/* Progressive compaction before allowing a second row. */
@media (max-width: 1550px) {
  header.site-banner,
  header.home-header,
  body > header { gap: .82rem; padding-left: max(2.2vw,.9rem); padding-right: max(2.2vw,.9rem); }
  .primary-nav { gap: .82rem !important; }
  .nav-major,.nav-heading,.nav-lab,.primary-nav > a { font-size: .91rem; }
  header a.global-wordmark,
  .site-banner a.global-wordmark,
  .home-header a.global-wordmark,
  body > header a.global-wordmark { font-size: 1.78rem !important; }
  .auth-rank-summary { font-size: .76rem !important; padding: .38rem .58rem !important; }
  .feedback-center { gap: .25rem; margin-left: .05rem; }
  .feedback-icon-button { width: 1.88rem; height: 1.88rem; }
  .esealog-language-picker { margin-left: .45rem !important; }
  .esealog-language-picker::before { font-size: .82rem; margin-right: .35rem; }
  .esealog-language-picker select { min-width: 92px; padding: 6px 8px; }
  .nav-lab { padding-left: .72rem; }
}

@media (max-width: 1320px) {
  header.site-banner,
  header.home-header,
  body > header { gap: .58rem; }
  .primary-nav { gap: .62rem !important; }
  .nav-major,.nav-heading,.nav-lab,.primary-nav > a { font-size: .84rem; }
  header a.global-wordmark,
  .site-banner a.global-wordmark,
  .home-header a.global-wordmark,
  body > header a.global-wordmark { font-size: 1.58rem !important; }
  .auth-rank-summary { font-size: .70rem !important; padding: .34rem .50rem !important; }
  .feedback-icon-button { width: 1.76rem; height: 1.76rem; }
  .esealog-language-picker::before { display:none; }
  .esealog-language-picker { margin-left: .2rem !important; }
  .nav-lab { padding-left: .5rem; }
}

/* At genuinely narrow desktop/tablet widths, use a deliberate two-row header
   rather than letting navigation collide with the wordmark. */
@media (max-width: 1080px) and (min-width: 821px) {
  .site-banner,
  .home-header,
  .map-header {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:"brand nav";
    align-items:center;
  }
  .site-banner > .global-wordmark,
  .home-header > .global-wordmark,
  .map-header > .global-wordmark { grid-area:brand; }
  .site-banner > .primary-nav,
  .home-header > .primary-nav,
  .map-header > .primary-nav {
    grid-area:nav;
    justify-content:flex-end;
    flex-wrap:wrap;
    row-gap:.48rem !important;
  }
  .esealog-language-picker { margin-left:.15rem !important; }
}

/* v76 Featured Research palette: keep cards and controls consistent with the SDSU Lab red identity. */
.lab-site .feature-topic-card{
  border-color:rgba(232,107,125,.24);
  background:linear-gradient(155deg,rgba(113,13,31,.66),rgba(54,6,16,.78));
  box-shadow:0 14px 32px rgba(34,2,8,.22);
}
.lab-site .feature-topic-card::before{
  background:linear-gradient(180deg,var(--lab-red-soft),rgba(232,107,125,.16));
}
.lab-site .feature-topic-tag{
  color:var(--lab-red-pale)!important;
}
.lab-site .feature-topic-number{
  color:rgba(255,224,229,.48);
}
.lab-site .feature-topic-card>p{
  color:rgba(248,235,238,.82);
}
.lab-site .feature-topic-actions a{
  color:#ffe8ec!important;
  border-color:rgba(232,107,125,.38);
  background:rgba(166,25,46,.16);
}
.lab-site .feature-topic-actions a:first-child{
  background:linear-gradient(135deg,var(--lab-red),var(--lab-red-bright));
  border-color:rgba(255,255,255,.14);
  color:#fff!important;
}
.lab-site .feature-topic-actions a:hover{
  filter:none;
  background:rgba(201,47,69,.27);
  border-color:rgba(243,166,177,.52);
}
.lab-site .feature-topic-actions a:first-child:hover{
  background:linear-gradient(135deg,var(--lab-red-bright),#df5267);
}

/* v98: community discovery on the Home map. */
.home-community-side{gap:1rem!important;justify-content:flex-start!important}
.home-community-block{display:grid;gap:.45rem}
.home-community-block+.home-community-block{border-top:1px solid rgba(255,255,255,.12);padding-top:1rem}
.home-community-block .eyebrow{margin:0;color:#7fe8ff}
.home-community-block h3{margin:0!important}
.home-community-help{font-size:.86rem;line-height:1.45;margin:0!important;color:#b9ced7!important}
.home-attention-card{display:grid;gap:.18rem;padding:.95rem 1rem;border-radius:14px;border:1px solid rgba(127,232,255,.24);background:rgba(4,28,39,.72);text-decoration:none;color:#fff;transition:transform .15s ease,border-color .15s ease}
.home-attention-card:hover{transform:translateY(-1px);border-color:rgba(127,232,255,.48)}
.home-attention-card .attention-kicker{font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;color:#79dff2;font-weight:800}
.home-attention-card strong{font-size:1.05rem;color:#fff}
.home-attention-card>span:not(.attention-kicker){font-size:.8rem;color:#afc5ce}
.attention-stats{margin-top:.38rem;font-size:.82rem;color:#d9e7ec}.attention-stats b{font-size:1rem;color:#fff}.attention-stats i{font-style:normal;color:#708993;margin:0 .2rem}
.home-your-districts{display:grid;gap:.5rem}
.home-your-district-card{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.6rem .72rem;border-radius:10px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);text-decoration:none}
.home-your-district-card strong{font-size:.86rem;color:#eff8fb}.home-your-district-card span{font-size:.7rem;color:#9eb7c1;white-space:nowrap}
.home-your-district-card:hover{background:rgba(255,255,255,.08);border-color:rgba(127,232,255,.22)}
.esealog-activity-legend small{display:block;margin-top:6px;padding-top:5px;border-top:1px solid rgba(255,255,255,.12);color:#b8ccd4;font-size:.65rem}
@media(max-width:720px){.home-your-district-card{align-items:flex-start;flex-direction:column;gap:.15rem}.home-your-district-card span{white-space:normal}}

/* v99: Home discovery is intentionally reduced to three jobs: find a place, see world attention, revisit your activity. */
.home-discovery-side{display:grid!important;gap:14px!important;align-content:start!important}
.home-find-block{display:grid;gap:9px;padding-bottom:2px}
.home-find-block .eyebrow{margin:0;color:#7fe8ff}
.home-place-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.home-place-search input{min-width:0;width:100%;border:1px solid rgba(127,232,255,.22);background:rgba(4,28,39,.68);color:#edf8fb;border-radius:12px;padding:.78rem .85rem;font:inherit}
.home-place-search input::placeholder{color:#8faab5}
.home-place-search .button{padding-inline:1rem;white-space:nowrap}
.home-map-browse-link{font-size:.76rem;color:#8edff0;text-decoration:none}.home-map-browse-link:hover{text-decoration:underline}
.home-attention-block{padding-top:1rem!important;border-top:1px solid rgba(255,255,255,.12)}
.home-community-block h3{display:none}
.home-community-help{display:none}
.home-attention-card{padding:.82rem .9rem}
.home-attention-card .attention-kicker{font-size:.62rem}.home-attention-card strong{font-size:1rem}
.home-your-districts{max-height:185px;overflow:auto;padding-right:2px}
.home-your-district-card.home-activity-card{display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:stretch;gap:.12rem .7rem;padding:.55rem .65rem}
.home-activity-kind{grid-row:1/3;align-self:center;min-width:58px;font-size:.62rem!important;text-transform:uppercase;letter-spacing:.08em;color:#84dced!important;font-weight:800;white-space:normal!important}
.home-activity-card strong{grid-column:2;font-size:.82rem!important}.home-activity-card small{grid-column:2;color:#91aab5;font-size:.68rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:720px){.home-place-search{grid-template-columns:1fr}.home-place-search .button{width:100%}.home-your-district-card.home-activity-card{grid-template-columns:1fr}.home-activity-kind,.home-activity-card strong,.home-activity-card small{grid-column:1;grid-row:auto}}


/* v101: clearer separation between ESeaLog and the SDSU Coastal Engineering Lab. */
.home-footer-v101{display:flex;align-items:center;justify-content:space-between;gap:1.4rem;flex-wrap:wrap}
.footer-mainline{opacity:.82}
.footer-scientific-home{display:inline-flex;align-items:center;gap:.8rem;color:rgba(236,247,251,.72)!important;text-decoration:none!important;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase}
.footer-scientific-home img{display:block;width:min(290px,42vw);height:auto;opacity:.72}
.footer-scientific-home:hover img{opacity:.94}
.footer-scientific-home:hover{color:#fff!important}

.lab-header-v101 .lab-header-logo{display:inline-flex;align-items:center;text-decoration:none;min-width:0}
.lab-header-v101 .lab-header-logo img{display:block;width:clamp(245px,25vw,390px);max-height:48px;height:auto;object-fit:contain;object-position:left center}
.lab-header-v101 .primary-nav{margin-left:auto}
.lab-site .auth-nav-link{color:rgba(255,255,255,.78)!important;font-weight:650!important}
.lab-site .auth-nav-link:hover{color:#fff!important}

.lab-esealog-link-v101{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 2rem;padding:.72rem 1rem;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);color:rgba(235,245,248,.68);font-size:.9rem}
.lab-esealog-link-v101 a{color:rgba(255,255,255,.86)!important;text-decoration:none!important;font-weight:750;white-space:nowrap}
.lab-esealog-link-v101 a:hover{text-decoration:underline!important;color:#fff!important}

/* Soften Featured Research: important, but not a saturated promotional block. */
.lab-site .lab-featured-v34,
.lab-site .research-v34{background:rgba(20,29,35,.58)!important;border-color:rgba(255,255,255,.12)!important}
.lab-site .feature-topic-card{border-color:rgba(255,255,255,.13)!important;background:linear-gradient(155deg,rgba(38,43,48,.72),rgba(23,27,31,.76))!important;box-shadow:0 10px 24px rgba(0,0,0,.14)!important}
.lab-site .feature-topic-card::before{background:linear-gradient(180deg,rgba(225,28,56,.72),rgba(225,28,56,.08))!important}
.lab-site .feature-topic-tag{color:rgba(255,202,210,.82)!important}
.lab-site .feature-topic-number{color:rgba(255,255,255,.34)!important}
.lab-site .feature-topic-card>p{color:rgba(244,246,247,.75)!important}
.lab-site .feature-topic-actions a{color:rgba(255,255,255,.82)!important;border-color:rgba(255,255,255,.16)!important;background:rgba(255,255,255,.055)!important}
.lab-site .feature-topic-actions a:first-child{background:rgba(225,28,56,.72)!important;border-color:rgba(225,28,56,.8)!important;color:#fff!important}

@media(max-width:820px){
  .home-footer-v101{align-items:flex-start;flex-direction:column}
  .footer-scientific-home{align-items:flex-start;flex-direction:column;gap:.45rem}
  .footer-scientific-home img{width:min(300px,78vw)}
  .lab-header-v101 .lab-header-logo img{width:min(58vw,300px);max-height:42px}
  .lab-esealog-link-v101{align-items:flex-start;flex-direction:column}
}


/* v102: one SDSU Lab navigation bar + stronger ESeaLog handoff. */
.lab-header-v102 .lab-header-logo{display:inline-flex;align-items:center;text-decoration:none;min-width:0}
.lab-header-v102 .lab-header-logo img{display:block;width:clamp(245px,25vw,390px);max-height:48px;height:auto;object-fit:contain;object-position:left center}
.lab-header-v102 .primary-nav{margin-left:auto}
.lab-site .lab-subnav{display:none!important}

.lab-esealog-link-v102{
  display:grid;
  grid-template-columns:78px minmax(0,1fr) auto;
  align-items:center;
  gap:1.15rem;
  margin:0 0 2rem;
  padding:1rem 1.15rem;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background:rgba(20,29,35,.54);
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  color:#fff!important;
  text-decoration:none!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.lab-esealog-link-v102:hover{transform:translateY(-1px);border-color:rgba(105,216,239,.34);background:rgba(24,35,42,.68)}
.lab-esealog-icon-v102{display:block;width:78px;height:78px;border-radius:17px;object-fit:cover;box-shadow:0 7px 18px rgba(0,0,0,.18)}
.lab-esealog-copy-v102{display:grid;gap:.25rem;min-width:0}
.lab-esealog-copy-v102 strong{font-size:1.28rem;line-height:1.15;color:#fff}
.lab-esealog-copy-v102>span{font-size:.92rem;line-height:1.5;color:rgba(235,245,248,.72);max-width:760px}
.lab-esealog-arrow-v102{font-size:1.55rem;color:#69d8ef;font-weight:800;padding-right:.2rem}

/* A little more neutral still for featured research, so it remains secondary to the lab identity. */
.lab-site .lab-featured-v34,
.lab-site .research-v34{background:rgba(30,34,38,.48)!important}
.lab-site .feature-topic-card{background:linear-gradient(155deg,rgba(45,48,51,.60),rgba(31,34,37,.64))!important}

@media(max-width:820px){
  .lab-header-v102 .lab-header-logo img{width:min(58vw,300px);max-height:42px}
  .lab-esealog-link-v102{grid-template-columns:58px minmax(0,1fr) auto;padding:.85rem .9rem;gap:.8rem}
  .lab-esealog-icon-v102{width:58px;height:58px;border-radius:14px}
  .lab-esealog-copy-v102 strong{font-size:1.08rem}
  .lab-esealog-copy-v102>span{font-size:.82rem}
}

/* v105: Earth-system palette. E=geosphere, S=hydrosphere, E=cryosphere, A=atmosphere, Log=neutral logger. */
.global-wordmark .wm-earth{color:#b8793f!important;}
.global-wordmark .wm-sea{color:#15558a!important;}
.global-wordmark .wm-cryo{color:#7ad9ee!important;}
.global-wordmark .wm-atmos{color:#dfe8ec!important;text-shadow:0 0 1px rgba(18,37,49,.48);}
.global-wordmark .wm-metal{color:#9eabb5!important;-webkit-text-fill-color:currentColor!important;background:none!important;}

/* v131: ESeaLog text-only developer affiliation; no SDSU logo on the ESeaLog homepage. */
.footer-developer-affiliation{display:block;text-align:center;color:inherit;text-decoration:none}
.footer-developer-affiliation a{color:inherit;text-decoration:underline;text-underline-offset:3px}
