/* The Davenhall web app: what the shared stylesheet (app.css, from the ERP) doesn't already cover. */

.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(400px, 100%); padding: 24px; box-shadow: var(--shadow); }
.auth-card .brand { padding: 0 0 18px; }
.auth-title { margin: 0 0 18px; font-size: 1.4rem; }
.btn.block { width: 100%; justify-content: center; }
.btn.danger { color: var(--critical-ink); }
.card.narrow { max-width: 560px; }
.messages { display: grid; gap: 8px; margin-bottom: 16px; }
.field .error { font-size: 12px; color: var(--critical-ink); }
.field ul { margin: 2px 0 0; padding-left: 18px; font-size: 12px; color: var(--muted); }
.secret { font-size: 15px; letter-spacing: 0.04em; background: var(--surface-2); padding: 2px 6px; border-radius: 4px;
  user-select: all; word-break: break-all; }
.password-once { margin-bottom: 16px; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.vendor-switch { padding: 0 0 8px; display: grid; gap: 4px; }
.vendor-switch .nav-group { margin: 0; }
.sidebar-foot .who { color: var(--ink); margin-bottom: 4px; }
.sidebar-foot .foot-links { margin-bottom: 8px; }
.sidebar-foot form { margin: 0; }
.section-card { display: block; color: var(--ink); text-decoration: none; }
.section-card:hover { text-decoration: none; border-color: var(--accent); }
.section-card h2 { margin-bottom: 6px; }
.section-card.locked { opacity: 0.7; }
.list-row { padding: 6px 0; border-bottom: 1px solid var(--line); }
.list-row:last-of-type { border-bottom: 0; }
.list-row form { margin: 0; }
form.inline { display: inline; }
.grant { margin-top: 12px; }
.grant select { width: auto; flex: 1 1 140px; }
.crumb { margin-bottom: 6px; font-size: 13px; }
.pager { margin-top: 12px; justify-content: center; }
.toolbar input[type="search"] { width: min(320px, 100%); }
.retailer-form .line-settings .cell { width: 7.5em; min-width: 5em; }
.retailer-form .line-settings th[scope="row"] { white-space: nowrap; text-align: left; }
