/* 06-components/terminal-frame — the site's outermost chrome (concept: "the page
   shell … every page renders inside it"). A structural CRT frame: it owns the boot
   header at the top and the status line at the bottom, and lets <main> own the
   viewport between them so full-bleed surfaces (e.g. the map viewer) stay free.
   The "tube" is drawn with the header/footer keylines, not a hard bezel box. */
.c-terminal-frame {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

/* Flash region — only rendered when a message exists, so it costs no space empty. */
.c-terminal-frame__flash {
  margin-block-start: var(--space-md);
}

/* The document column. flex-grow keeps the footer status line pinned to the tube. */
.c-terminal-frame__main {
  flex: 1 1 auto;
  padding-block: var(--space-lg);
}

/* The footer answers the header: a quieter status line closing the tube. */
.c-terminal-frame__footer {
  border-block-start: 1px solid var(--rule);
  margin-block-start: var(--space-xl);
  padding-block: var(--space-md);
}
