/* The shell's only styles: classes, no inline style, so the CSP needs no
   'unsafe-inline' (ADR-0121 Decision 2). */
:root { color-scheme: light dark; font-family: system-ui, sans-serif; line-height: 1.4; }
body { margin: 0; }
.shell header { display: flex; gap: 1rem; align-items: center; padding: 0.5rem 1rem; border-bottom: 1px solid #8884; }
.shell .product { font-weight: 600; }
.shell .who { flex: 1; opacity: 0.8; }
.shell nav { display: flex; gap: 1rem; padding: 0.5rem 1rem; border-bottom: 1px solid #8884; }
.shell nav a[aria-current="page"] { font-weight: 600; }
.shell main { padding: 1rem; }
table.tables { border-collapse: collapse; width: 100%; }
table.tables th, table.tables td { text-align: left; padding: 0.25rem 0.5rem; border-bottom: 1px solid #8883; }
table.tables tr.paused td { background: #f002; }
.reason, .when { opacity: 0.8; }
.pause-form { display: grid; gap: 0.5rem; max-width: 32rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #8886; }
.pause-form label { display: grid; gap: 0.25rem; }
.error { color: #c00; }
.hint, .empty { opacity: 0.8; }
.notice-page { padding: 2rem; }
.config-form { display: grid; gap: 0.5rem; max-width: 40rem; margin-bottom: 1rem; padding: 1rem; border: 1px solid #8886; }
.config-form label { display: grid; gap: 0.25rem; }
.config-form label.check { display: flex; gap: 0.5rem; align-items: center; }
.config-form .field { display: grid; gap: 0.25rem; justify-items: start; }
.config-form textarea { font-family: ui-monospace, monospace; }
.config-kinds, .config-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1rem; }
.config-kinds button[aria-pressed="true"] { font-weight: 600; }
table.tables tr.declined td { opacity: 0.6; }
.trail { margin-bottom: 1rem; padding: 1rem; border: 1px solid #8886; }
.trail dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; }
.trail dd { margin: 0; overflow-wrap: anywhere; }
.warn { color: #b60; }
button.link { background: none; border: none; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
/* The back-office demo (RGS-311): its banner and role picker, after app.css. */
.demo-banner { padding: 0.5rem 1rem; background: #fd3; color: #000; border-bottom: 1px solid #0004; }
.demo-landing { max-width: 48rem; padding: 1rem 2rem 2rem; }
.demo-landing li { margin-bottom: 0.25rem; }
.demo-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.75rem; margin-bottom: 1rem; }
.demo-people button { display: grid; gap: 0.25rem; text-align: left; padding: 0.75rem; cursor: pointer; }
.demo-person { font-weight: 600; }
.demo-summary { opacity: 0.8; font-size: 0.9em; }
