.shell-hero{padding-top:36px;padding-bottom:36px}.shell-hero h1{font-size:clamp(2.4rem,5.6vw,5rem);line-height:1.04}.shell-portrait{margin:0;max-width:420px;justify-self:center}.shell-portrait[hidden]{display:none}.shell-portrait img{display:block;width:100%;height:auto;border-radius:16px}.shell-portrait figcaption{font-size:13px;color:var(--az-muted);margin-top:8px}.shell-hero.az-bridge{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}@media(max-width:750px){.shell-hero.az-bridge{grid-template-columns:1fr}.shell-portrait{max-width:300px}}
.shell-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-block: 1rem; }
.shell-actions select { font: inherit; padding: .35rem; }
.shell-compare [hidden] { display: none !important; }
#meshView {
  height: clamp(340px, 63vh, 680px);
  overflow: hidden;
  border-radius: 12px;
  background: #142334;
}
#meshView canvas { display: block; width: 100%; height: 100%; }
#meshView canvas:focus-visible { outline: 3px solid #a4dcff; outline-offset: -4px; }
.shell-heat-key {
  height: .65rem;
  margin-top: .8rem;
  border-radius: 1rem;
  background: linear-gradient(to right, blue, cyan, lime, yellow, red);
}
#meshStats { white-space: pre-wrap; overflow-wrap: anywhere; }
#meshViewHint, #meshLegend { font-size: .9rem; }
#meshResultTitle { scroll-margin-top: 6rem; }

.shell-specimen { display: grid; gap: .7rem; justify-items: start; }
.shell-specimen input { max-width: 100%; }
.shell-specimen [id^="specimenProfile"] { width: 100%; min-width: 0; }
.shell-specimen [role="status"]:empty { display: none; }
.shell-comparison-options { margin-top: 1rem; }
.shell-projections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: .85rem;
}
.shell-projections figure { margin: 0; }
.shell-projections canvas { display: block; width: 100%; height: auto; border-radius: .65rem; background: #142334; }
.shell-projections figcaption { padding-top: .3rem; }
.shell-proportions { margin-block: 1rem; max-width: 42rem; }
.shell-proportion { display: grid; gap: .25rem; margin-bottom: .6rem; }
.shell-proportion meter { width: 100%; }

.shell-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 1rem; }
.shell-measurements { width: 100%; border-collapse: collapse; }
.shell-measurements caption { text-align: left; font-weight: 700; margin-bottom: .4rem; }
.shell-measurements th, .shell-measurements td {
  padding: .5rem .65rem;
  border-bottom: 1px solid var(--az-border, currentColor);
  text-align: left;
  vertical-align: top;
}
.shell-measurements td { font-variant-numeric: tabular-nums; }

.shell-scientific-figure { margin: 1.25rem 0; width: 100%; max-width: 56rem; }
.shell-scientific-figure figcaption { margin-top: .5rem; font-size: .92rem; }
.shell-plot { overflow-x: auto; }
.shell-plot svg { display: block; width: 100%; min-width: 32rem; background: #fff; border-radius: .5rem; }

.shell-lab-menu .wq-nav-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .shell-lab-menu .wq-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
