/* PlantEnvLab shared page shell v2
   Outer site format only. Page content is styled by each page stylesheet. */
:root{
  --pel-shell-outer:#e9eee9;
  --pel-shell-paper:#faf7ee;
  --pel-shell-ink:#14382e;
  --pel-shell-line:#d8d1c3;
  --pel-shell-footer:#14382e;
  --pel-shell-max:1680px;
  --pel-shell-pad:clamp(24px,3vw,52px);
  --pel-shell-sans:Arial,"Helvetica Neue",sans-serif;
  --pel-shell-serif:Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box}
html{background:var(--pel-shell-footer)}
body.pelUnifiedShell{
  margin:0;
  background:var(--pel-shell-outer);
  color:var(--pel-shell-ink);
}

/* Common header */
.pelSiteHeader{
  position:sticky;
  top:0;
  z-index:100;
  height:58px;
  background:rgba(250,247,238,.98);
  border-bottom:1px solid var(--pel-shell-line);
  backdrop-filter:blur(8px);
}
.pelSiteHeaderInner{
  width:min(var(--pel-shell-max),calc(100% - 36px));
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.pelSiteBrand{
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:var(--pel-shell-ink);
  text-decoration:none;
  line-height:1;
  white-space:nowrap;
}
.pelSiteBrand strong{
  font:600 27px/1 var(--pel-shell-serif);
  letter-spacing:.015em;
}
.pelSiteBrand small{
  margin-top:4px;
  font:7px/1.1 var(--pel-shell-sans);
  letter-spacing:.22em;
  color:#526a61;
}
.pelSiteNav{
  display:flex;
  align-items:stretch;
  align-self:stretch;
  gap:2px;
}
.pelSiteNav a{
  display:flex;
  align-items:center;
  padding:0 14px;
  border-bottom:2px solid transparent;
  color:var(--pel-shell-ink);
  text-decoration:none;
  font:500 14px/1 var(--pel-shell-sans);
  white-space:nowrap;
}
.pelSiteNav a:hover,.pelSiteNav a:focus-visible{background:#f2eee3}
.pelSiteNav a[aria-current="page"]{
  border-bottom-color:#426f5d;
  font-weight:700;
}

/* Common page canvas only.
   Do not impose page-specific internal typography or grid rules here. */
.pelPageSurface{
  width:min(var(--pel-shell-max),calc(100% - 36px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  background:var(--pel-shell-paper);
  box-shadow:0 0 34px rgba(28,62,50,.08);
}
.pelHomeSurface{padding:0 !important;overflow:hidden}
.breadcrumb{display:none !important}

/* Common footer */
.pelSiteFooter{
  margin:0;
  padding:0;
  background:var(--pel-shell-footer);
  color:#eef3ef;
  border-top:1px solid rgba(255,255,255,.08);
}
.pelSiteFooterInner{
  width:min(var(--pel-shell-max),calc(100% - 36px));
  min-height:64px;
  margin:0 auto;
  padding:12px 0;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1.55fr) minmax(0,1.08fr);
  align-items:center;
  gap:28px;
}
.pelFooterIdentity{
  min-width:0;
  text-align:left;
  font:600 13px/1.5 var(--pel-shell-sans);
  color:#fff;
}
.pelFooterNote{
  min-width:0;
  max-width:none;
  text-align:center;
  font:500 13px/1.5 var(--pel-shell-sans);
  color:#d7e1dd;
}
.pelFooterLegal{
  min-width:0;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  text-align:right;
  white-space:nowrap;
  font:500 13px/1.5 var(--pel-shell-sans);
  color:#d7e1dd;
}
.pelFooterLegal a{
  color:#f3f7f5;
  text-decoration:underline;
  text-underline-offset:3px;
}
.pelFooterLegal a:hover,
.pelFooterLegal a:focus-visible{
  color:#fff;
}

@media(max-width:820px){
  .pelSiteHeader{height:auto;min-height:58px}
  .pelSiteHeaderInner{width:calc(100% - 24px);min-height:58px}
  .pelSiteBrand strong{font-size:23px}
  .pelSiteNav{display:none}
  .pelPageSurface{width:calc(100% - 24px) !important}
  .pelSiteFooterInner{
    width:calc(100% - 24px);
    min-height:0;
    padding:16px 0 18px;
    grid-template-columns:1fr;
    align-items:start;
    gap:9px;
  }
  .pelFooterIdentity,
  .pelFooterNote,
  .pelFooterLegal{
    text-align:left;
  }
  .pelFooterLegal{
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:flex-start;
    gap:3px 10px;
    white-space:normal;
  }
}

/* PlantEnvLab mobile overflow guard — 2026-09-06 */
@media(max-width:820px){
  html,
  body.pelUnifiedShell{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }
  .pelSiteHeader,
  .pelSiteHeaderInner,
  .pelPageSurface,
  .pelSiteFooter,
  .pelSiteFooterInner{
    max-width:100% !important;
  }
  .pelSiteHeaderInner,
  .pelPageSurface,
  .pelSiteFooterInner{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

