.suite-page {
  max-width: 1240px;
  margin: 16px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.suite-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-end;
  margin-top: 14px;
}
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 16px;
  align-items: start;
}
.suite-section { min-width: 0; }
.suite-section.suite-wide { grid-column: 1 / -1; }
.suite-section.is-min .suite-body { display: none; }
.suite-section[hidden] { display: none; }
.suite-body { display: grid; gap: 12px; min-width: 0; }
.suite-code { min-width: 0; }
.suite-intro { margin: 0; }
.suite-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  background: repeating-conic-gradient(#f4f6fa 0 25%, #ffffff 0 50%) 0 0 / 16px 16px;
  border: 1px dashed var(--sea);
}
.suite-demo-stripes { background: repeating-linear-gradient(135deg, var(--cyan) 0 18px, var(--deep) 18px 36px, var(--butter) 36px 54px, var(--hot) 54px 72px); }
.suite-demo-stack { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.suite-demo-stretch { align-items: stretch; }
.suite-state { display: grid; gap: 6px; justify-items: center; font-size: 11px; color: var(--mute); }
.suite-readout { margin: 0; font-size: 12px; color: var(--deep); }
.suite-readout output { font-family: var(--y2k-font-mono); font-weight: bold; color: var(--ink); }
.suite-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font: bold 12px/1.4 var(--y2k-font-ui);
  color: var(--deep);
}
.suite-code pre {
  margin: 0;
  padding: 8px 10px;
  max-height: 260px;
  overflow: auto;
  font: 12px/1.5 var(--y2k-font-mono);
  color: var(--lime);
  background: #10210a;
  border: 2px inset #6a7a5a;
  white-space: pre;
}
.suite-needs { margin: 6px 0 0; font-size: 12px; color: var(--mute); }
.suite-sky-swatch { width: 180px; height: 96px; border: 1px solid var(--edge); background-attachment: scroll; }
.suite-night { display: grid; gap: 12px; width: 100%; padding: 14px; background-attachment: scroll; }
.suite-surface { display: flex; gap: 12px; align-items: center; padding: 16px; }
.suite-surface span { font-size: 11px; }
.suite-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; width: 100%; }
.suite-swatch { display: grid; gap: 4px; font: 11px/1.3 var(--y2k-font-mono); color: var(--ink); }
.suite-swatch i { display: block; height: 32px; border: 1px solid var(--edge); }
.suite-compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; width: 100%; min-width: 0; }
.suite-compare .y2k-titlebar { width: min(100%, 420px); }
.suite-old-bar { background: linear-gradient(90deg, var(--deep) 0%, var(--sea) 60%, var(--cyan) 100%); }
.suite-old-bar .y2k-titlebar-title { max-width: none; }
.suite-controls-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; width: 100%; }
.suite-footer { text-align: center; }
