.instrument-shell { max-width: none; padding: 0 24px 24px; }
.review-reading { margin: auto; }
.review-reading h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0 6px; }
.review-observation { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-observation p { margin: 0; }
.review-observation strong { color: #754900; }
#motion-toggle { font: inherit; color: var(--ink); background: white; border: 1px solid #698287; border-radius: 5px; padding: 8px 12px; }
#motion-toggle:not(:disabled) { cursor: pointer; }
#motion-toggle:focus-visible, summary:focus-visible { outline: 3px solid #086b72; outline-offset: 3px; }
.review-qualifications { margin-top: 8px; }
.review-qualifications summary { cursor: pointer; font-weight: 600; padding-block: 4px; }
.review-qualifications p { max-width: 80ch; }
.beta-header { position: sticky; top: 0; z-index: 4; min-height: 66px; padding: 8px max(24px, 5vw); background: #082638; }
.beta-context { max-width: 1450px; margin: 8px auto 0; padding-inline: 24px; }
.sample-sponsor, .sample-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 14px; border: 1px solid var(--line); margin-bottom: 6px; border-radius: 5px; }
.sample-sponsor { min-height: 75px; justify-content: center; background: white; }
.sample-alert { min-height: 49px; background: #fff5dd; }
.sample-alert small, .sample-sponsor small { color: var(--muted); }
.compact .review-reading { max-width: 1180px; }
.embed { background: white; }
.embed .instrument-shell { padding: 12px; }

@media (min-width: 1050px) {
  :is(.compact, .embed) .offshore-instrument { display: block; }
  :is(.compact, .embed) .offshore-canvas {
    display: grid;
    grid-template-columns: minmax(0, 72fr) minmax(0, 28fr);
    align-items: center;
  }
  :is(.compact, .embed) .offshore-map-stage {
    display: grid;
    grid-area: 1 / 1;
    grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
    align-items: center;
  }
  :is(.compact, .embed) .offshore-geographic-layer { position: relative; grid-column: 2; grid-row: 1; }
  :is(.compact, .embed) .community-direction {
    position: relative; grid-column: 1; grid-row: 1; inset: auto; width: auto;
    min-width: 0; margin: 10px 0 10px 10px;
  }
  :is(.compact, .embed) .community-direction-map { height: auto; }
  :is(.compact, .embed) .offshore-wave-station {
    grid-area: 1 / 2; position: static; width: auto; padding: 12px; background: transparent;
    border-left: 1px solid var(--line);
  }
  :is(.compact, .embed) .offshore-wave-measurement {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'height period' 'wave wave';
    align-items: start;
  }
  :is(.compact, .embed) .offshore-wave-measurement.offshore-wave-partial {
    grid-template-areas: 'height period' 'message message' 'temperature temperature';
  }
  :is(.compact, .embed) .offshore-wave-reading,
  :is(.compact, .embed) .offshore-period-reading { padding: 0 4px 8px; width: auto; text-align: center; }
  :is(.compact, .embed) .offshore-wave-reading strong,
  :is(.compact, .embed) .offshore-period-reading strong { font-size: 2.25rem; }
  :is(.compact, .embed) .offshore-wave { height: clamp(195px, 15vw, 235px); }
  :is(.compact, .embed) .offshore-temperature-in-wave { margin-bottom: 22px; height: 63px; }
  :is(.compact, .embed) .offshore-temperature-in-wave strong { font-size: 1.65rem; }
  :is(.compact, .embed) .offshore-temperature-in-wave > span:first-child { font-size: .85rem; line-height: 16px; }
  :is(.compact, .embed) .offshore-direction-reading { padding: 8px 16px; }
  :is(.compact, .embed) .offshore-instrument figcaption { padding: 5px 16px; }
}
@media (min-width: 2200px) {
  .compact .review-reading { max-width: 1400px; }
}
@media (max-width: 700px) {
  .instrument-shell { padding-inline: 10px; }
  .review-observation { flex-wrap: wrap; }
  .beta-header { padding-inline: 12px; }
}
.motion-paused .offshore-animated-wave { display: none; }
.motion-paused .offshore-static-wave { display: block; }
