.window { display: flex; flex-direction: column; height: 100%; min-height: 0; background: var(--bg-app); color: var(--fg); } /* Linux: frameless X11 windows have no shadow, so mark the edge in CSS. */ .edge { position: relative; } .edge::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px var(--border-window); } .loading { display: flex; flex: 1; align-items: center; justify-content: center; gap: var(--space-2); color: var(--fg-muted); } .body { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; } .error { padding: var(--space-4); color: var(--danger); font-size: var(--fs-small); }