/* ==========================================================================
   AKLOJO EŽERO (PABALVĖS) DURPYNO OBSERVATORIJA — observatory.css (v2)
   Design System: Apple HIG Editorial Precision × petronis.me × Dieter Rams
   Palette: Antique Paper (#F9F7F2) · Pure Surface (#FFFFFF) · Ink (#1A1A1A) · Oxblood (#8B1A1A)
   Fonts: Playfair Display (Editorial Display) · Inter (UI/Prose) · JetBrains Mono (Instruments)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --paper:          #F9F7F2;
  --paper-subtle:   #F2EFE8;
  --paper-control:  #EAE6DC;
  --surface:        #FFFFFF;
  --ink:            #1A1A1A;
  --ink-soft:       #3D3A36;
  --muted:          #736E65;
  --oxblood:        #8B1A1A;
  --oxblood-tint:   #FAF0F0;
  --hairline:       #E0DBD0;
  --hairline-strong:#C8C2B5;
  --rule-ink:       #1A1A1A;

  --font-display:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:        'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --max-width:      1240px;
  --pad-x:          2.5rem;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      14px;

  --shadow-card:    0 1px 2px rgba(26, 26, 26, 0.04), 0 8px 24px rgba(26, 26, 26, 0.035);
  --shadow-pill:    0 1px 3px rgba(26, 26, 26, 0.12), 0 1px 1px rgba(26, 26, 26, 0.06);
  --shadow-modal:   0 24px 64px rgba(26, 26, 26, 0.28);
}

@media (max-width: 768px) {
  :root {
    --pad-x: 1.25rem;
  }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.96875rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 6rem;
}

a {
  color: var(--oxblood);
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 26, 26, 0.3);
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ── Sticky Translucent Top Navigation Bar (Apple HIG Glass/Paper) ── */
.top-chrome {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(249, 247, 242, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}

.top-chrome-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0.55rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

@media (max-width: 1140px) {
  .top-chrome-inner {
    flex-wrap: wrap;
  }
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.16);
  animation: pulse 2.4s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  background: var(--paper-subtle);
  border: 1px solid var(--hairline);
  padding: 0.15rem 0.48rem;
  border-radius: 999px;
}

/* Segmented Primary Navigation */
.nav-bar {
  display: inline-flex;
  align-items: center;
  background: var(--paper-control);
  padding: 3px;
  border-radius: 9px;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-tab {
  background: transparent;
  border: none;
  padding: 0.42rem 0.78rem;
  border-radius: 7px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  white-space: nowrap;
}

.nav-tab .tab-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-tab:hover {
  color: var(--ink);
}

.nav-tab.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-pill);
}

.nav-tab.active .tab-num {
  color: var(--oxblood);
}

.chrome-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chrome-pill-btn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.32rem 0.72rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chrome-pill-btn:hover {
  border-color: var(--ink);
  background: var(--paper-subtle);
}

.lang-switch {
  display: inline-flex;
  background: var(--paper-control);
  padding: 2px;
  border-radius: 999px;
}

.lang-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pill);
}

/* ── Editorial Masthead & Hero ──────────────────────────────────── */
.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem var(--pad-x) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--hairline-strong);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.masthead-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.75rem;
  display: block;
}

.site-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.25vw, 2.85rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.site-subtitle {
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 64ch;
}

/* Quiet Editorial Attribution Card */
.masthead-dossier {
  background: var(--paper-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.masthead-dossier-row {
  padding-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid var(--hairline);
}

.masthead-dossier-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.masthead-dossier-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.15rem;
}

/* ── Live 4-Station Interactive Strip (Tactile Instrument Cards) ── */
.station-strip-wrap {
  padding: 1.25rem 0 0.5rem;
}

.station-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.station-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 980px) {
  .station-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .station-strip {
    grid-template-columns: 1fr;
  }
}

.station-mini {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.station-mini:hover {
  transform: translateY(-1px);
  border-color: var(--hairline-strong);
}

.station-mini.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), var(--shadow-card);
}

.station-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.station-mini-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.station-mini-state {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
  background: var(--paper-subtle);
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
}

.station-mini-title {
  font-weight: 600;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.station-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--hairline);
}

.station-metric-cell {
  display: flex;
  flex-direction: column;
}

.station-metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}

.station-metric-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

/* ── Main Content Container & Views ─────────────────────────────── */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.25rem var(--pad-x) 0;
}

.view-panel {
  display: none;
  animation: fadeIn 0.24s ease-out;
}

.view-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section Headers ────────────────────────────────────────────── */
.section-header {
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--hairline-strong);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-deck {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 66ch;
  margin-top: 0.45rem;
}

/* ── Cards & Surfaces (Apple HIG Clean Elevation, Zero Nested Boxes) ── */
.arch-card,
.arch-card-double {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.arch-card-double {
  border-color: var(--hairline-strong);
}

.arch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--hairline);
}

.arch-card-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
}

.arch-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 0.2rem;
}

.arch-card-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── Grids ──────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 1.5rem;
}

.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

@media (max-width: 1024px) {
  .grid-2, .grid-2-equal, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Segmented Controls, Buttons & Sliders ──────────────────────── */
.control-bar {
  background: var(--paper-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  background: var(--paper-control);
  padding: 3px;
  border-radius: 8px;
  gap: 2px;
}

.season-grid-bar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--paper-control);
  padding: 3px;
  border-radius: 9px;
  gap: 3px;
  margin-bottom: 1.15rem;
}

@media (max-width: 960px) {
  .season-grid-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .season-grid-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arch-btn {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Standalone arch-btn outside a segmented group */
*:not(.btn-group):not(.season-grid-bar) > .arch-btn {
  background: var(--surface);
  border-color: var(--hairline-strong);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.arch-btn:hover {
  color: var(--ink);
}

.arch-btn.active {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-pill);
}

.arch-btn.oxblood {
  background: var(--oxblood) !important;
  color: #FFFFFF !important;
  border-color: var(--oxblood) !important;
  font-weight: 600;
}

.arch-btn.oxblood:hover {
  background: #6f1414 !important;
}

.slider-block {
  margin-bottom: 1.1rem;
}

.slider-block:last-child {
  margin-bottom: 0;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--oxblood);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--paper-control);
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.08);
  border-color: var(--oxblood);
}

/* ── Tables ─────────────────────────────────────────────────────── */
.arch-table-wrap {
  overflow-x: auto;
}

.arch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.arch-table th,
.arch-table td {
  text-align: left;
  padding: 0.78rem 0.9rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.arch-table th {
  background: var(--paper-subtle);
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.arch-table tr:hover td {
  background: rgba(242, 239, 232, 0.5);
}

.mono-cell {
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* ── Key-Value Specs & Editorial Callout ────────────────────────── */
.spec-list {
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.85rem;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--ink-soft);
}

.spec-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.editorial-callout {
  background: var(--paper-subtle);
  border-left: 3px solid var(--oxblood);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.95rem 1.25rem;
  margin: 1rem 0;
  font-size: 0.89rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.editorial-callout strong {
  color: var(--ink);
}

/* ── Metric Stat Boxes ──────────────────────────────────────────── */
.stat-box {
  background: var(--paper-subtle);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  transition: border-color 0.15s ease;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.stat-value.oxblood {
  color: var(--oxblood);
}

.stat-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

/* ── Interactive SVG Canvases ───────────────────────────────────── */
.svg-canvas {
  width: 100%;
  height: auto;
  display: block;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
}

.clickable-hotspot {
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.clickable-hotspot:hover {
  opacity: 0.86;
}

/* ── Code Viewer ────────────────────────────────────────────────── */
.code-viewer {
  background: #181817;
  color: #EAE6DF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.62;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  max-height: 440px;
  white-space: pre;
}

/* ── Monograph Proposal Sheet (View 06) ─────────────────────────── */
.monograph-sheet {
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 3.25rem 3.75rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .monograph-sheet {
    padding: 1.5rem;
  }
}

.monograph-sheet h2 {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2.35rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline-strong);
}

.monograph-sheet h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 0.55rem;
}

.monograph-sheet p {
  margin-bottom: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.76;
}

.monograph-sheet ul,
.monograph-sheet ol {
  margin: 0.5rem 0 1.25rem 1.4rem;
  color: var(--ink-soft);
}

.monograph-sheet li {
  margin-bottom: 0.45rem;
  line-height: 1.68;
}

.blueprint-figure {
  margin: 1.85rem 0;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 0.9rem;
}

.blueprint-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  cursor: zoom-in;
}

.blueprint-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ── Modals (Apple Frosted Backdrop + Crisp Sheet) ──────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  max-width: 1120px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.85rem;
  box-shadow: var(--shadow-modal);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline-strong);
}

.hex-byte-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0;
}

.hex-byte {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.hex-byte span {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  max-width: var(--max-width);
  margin: 3.5rem auto 0;
  padding: 0 var(--pad-x);
}

.footer-inner {
  border-top: 1px solid var(--hairline-strong);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Print / PDF Stylesheet ─────────────────────────────────────── */
@media print {
  body {
    background: #FFFFFF;
    color: #000000;
    padding: 0;
  }
  .top-chrome,
  .station-strip-wrap,
  .no-print {
    display: none !important;
  }
  .site-header,
  .site-main,
  .monograph-sheet {
    max-width: 100%;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .view-panel {
    display: none !important;
  }
  #view-proposal {
    display: block !important;
  }
  .blueprint-figure {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
