/**
 * Expansive app shell (max 1456px) — design.md §5.
 * Load after typography.css on pages with .viewport + .shell + mega nav.
 */

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.viewport {
  min-height: 100vh;
  padding: 16px;
  display: flex;
  justify-content: center;
}

.shell {
  width: 100%;
  max-width: 1456px;
  min-height: calc(100vh - 32px);
  background: var(--shell);
  border-radius: var(--radius-shell);
  box-shadow: var(--shadow-shell);
  padding: 0 30px 40px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .viewport {
    padding: 0;
  }

  .shell {
    border-radius: 0;
    min-height: 100vh;
    padding: 0 16px 32px;
  }

  .shell--dock-actions {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* Same frame as .shell-panel (panel.css); adds vertical spacing when needed. */
.inner-container {
  margin-top: 10px;
  margin-bottom: 10px;
}