* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--black); color: var(--white); font-family: var(--font-ui); }
button, input { font: inherit; }
button { color: inherit; }
.app-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: var(--topbar-height) minmax(0,1fr) auto;
  grid-template-areas:
    "topbar topbar"
    "sidebar workspace"
    "status status";
  background: radial-gradient(circle at 75% 20%, rgba(21,34,56,.34), transparent 38%), var(--black);
}
.topbar { grid-area: topbar; }
.sidebar { grid-area: sidebar; }
.workspace { grid-area: workspace; min-width: 0; min-height: 0; }
.statusbar { grid-area: status; }
.mobile-only { display: none; }
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; grid-template-areas: "topbar" "workspace" "status"; }
  .sidebar { position: fixed; left: 0; top: var(--topbar-height); bottom: var(--statusbar-height); width: min(88vw, 320px); z-index: 30; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 30px 0 80px rgba(0,0,0,.55); }
  .sidebar.is-open { transform: translateX(0); }
  .mobile-only { display: inline-grid; }
  .brand-subtitle { display: none; }
  .workspace-meta { display: none !important; }
  .top-button { display: none; }
}
