/* Each tool reserves its own results, with no shared height or footer floor. */
html {
  scrollbar-gutter: stable;
}
.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-shell > main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.toolkit-label.section-label {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  margin-bottom: 9px;
}
.compact-hero.hero {
  margin-bottom: 12px;
}
.tool-layout {
  flex: none;
}
#workspace {
  position: relative;
}
#workspace > section {
  display: flex;
  flex-direction: column;
}
#workspace > section.layout-measuring {
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  pointer-events: none;
}
.workspace-grid {
  flex: 1;
}
.output-panel {
  position: relative;
}
.output-results {
  min-height: var(--reserved-results, 0px);
  align-content: start;
  gap: 6px;
}
.output-results > .empty-state {
  min-height: var(--reserved-results, 320px);
}
.layout-probe.output-results {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  pointer-events: none;
  min-height: 0;
  height: auto;
  margin: 0;
}
.result-row {
  padding: 8px 12px;
}
.result-label {
  margin-bottom: 3px;
}
.result-text code {
  white-space: pre-wrap;
  word-break: break-all;
}
.privacy-strip {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding: 16px 0;
}
.site-footer {
  flex-shrink: 0;
}
.site-bottom {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
@media (min-width: 1051px) {
  .site-shell .site-header {
    height: 64px;
    margin-bottom: 10px;
  }
  .compact-hero.hero {
    min-height: 100px;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
  .compact-hero .hero-art {
    height: 74px;
  }
  .toolkit-label.section-label {
    padding-top: 7px;
    margin-bottom: 6px;
  }
  .privacy-strip {
    margin-top: 10px;
    padding: 10px 0;
  }
  .site-footer {
    padding: 12px 0;
  }
  [data-design="midnight"] .workspace-heading {
    padding: 12px 20px;
  }
  [data-design="midnight"] .workspace-heading h2 {
    line-height: 1.2;
  }
  [data-design="midnight"] .tool-form,
  [data-design="midnight"] .output-panel {
    padding: 18px 20px;
  }
  .output-results {
    margin-top: 14px;
  }
}
