/* Minimal shared look. Apps may add their own stylesheet; keep auth pages consistent. */
:root { --fg:#1d1d1f; --muted:#6b6b70; --bg:#f6f6f7; --card:#fff; --line:#e3e3e6; --accent:#2f5bd3; }
* { box-sizing: border-box; }
body { margin:0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color:var(--fg); background:var(--bg); }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:.75rem 1.25rem; background:var(--card); border-bottom:1px solid var(--line); }
.topbar nav { display:flex; gap:1rem; align-items:center; }
.brand { font-weight:600; color:var(--fg); text-decoration:none; }
main { max-width:960px; margin:2rem auto; padding:0 1.25rem; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:1.5rem; }
.narrow { max-width:420px; margin:3rem auto; }
h1 { font-size:1.4rem; margin:0 0 1rem; }
label { display:block; margin:.75rem 0 .25rem; font-weight:500; }
label.check { display:flex; gap:.5rem; align-items:center; font-weight:400; }
input[type=text], input[type=password], input[type=email] { width:100%; padding:.6rem .7rem; border:1px solid var(--line); border-radius:8px; font:inherit; }
button { font:inherit; cursor:pointer; border-radius:8px; border:1px solid var(--line); padding:.6rem 1rem; background:var(--card); }
button.primary { background:var(--accent); border-color:var(--accent); color:#fff; }
button.wide { width:100%; margin-top:1rem; }
button.link { border:0; background:none; padding:0; color:var(--accent); }
form.inline { display:inline; margin:0; }
.badge { font-size:.75rem; background:#eef2ff; color:var(--accent); border-radius:999px; padding:.1rem .5rem; }
.notice { background:#fff7e6; border:1px solid #f3d38b; border-radius:8px; padding:.6rem .8rem; }
.messages { list-style:none; padding:0; }
.messages li { background:#eef2ff; border-radius:8px; padding:.6rem .8rem; margin-bottom:.5rem; }
.errorlist { color:#b00020; padding-left:1rem; margin:.25rem 0; }
.small { font-size:.875rem; } .muted { color:var(--muted); }
a { color:var(--accent); }
