/*
 * Layout of the application pages: the narrow pages (login, registration, password
 * reset) and the content of the pages in the app shell (lists, empty states).
 * The components come from components.css. This file holds the page structure only.
 *
 * Source: design-system/styles/ in the _conventions repository. A copy in a product
 * repository is a derived file. Change the rule there first, then run the sync script.
 */

/* ------------------------------------------------------------ Narrow pages */

.container-narrow { max-width: 30rem; }
.page-card { margin-top: var(--space-5); }
.page-card .card-body { padding: var(--space-4); }
.page-card h1 { font-size: 1.6rem; }
.page-links { margin: var(--space-3) 0 0; font-size: .9rem; text-align: center; }

/* ------------------------------------------------------------ Pages in the app shell */

/* The frame of these pages (top bar, sidebar, panel) is the app shell: shell.css. */

.empty-state { color: var(--ink-3); font-style: italic; }
.status-ok { font-weight: 600; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list > li { padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.plain-list > li:last-child { border-bottom: 0; }

.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--space-4); margin-top: var(--space-4); }
.dashboard-grid .card { margin-bottom: 0; }
