:root { --fg: #27262b; --muted: #6b6a73; --line: #e2e1e8; --accent: #5c4ee5; --bg: #f7f7fa; --err: #b3261e; --ok: #1e6f3f; }
* { 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); }
.gate { max-width: 440px; margin: 8vh auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2rem; }
.gate.wide { max-width: 980px; }
h1 { font-size: 1.35rem; margin: 0 0 1rem; }
label { display: block; font-size: .9rem; color: var(--muted); margin: .9rem 0 .25rem; }
input[type=text], input[type=email], input[type=password], select { width: 100%; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; }
button, .btn { display: inline-block; margin-top: 1.1rem; padding: .55rem 1rem; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font-size: .95rem; cursor: pointer; text-decoration: none; }
button.secondary, .btn.secondary { background: #fff; color: var(--fg); border: 1px solid var(--line); }
button.danger { background: var(--err); }
.row-actions form { display: inline; }
.row-actions button { margin: 0 .2rem 0 0; padding: .3rem .6rem; font-size: .8rem; }
.error { color: var(--err); background: #fdecea; border-radius: 6px; padding: .6rem .8rem; margin-top: 1rem; }
.notice { color: var(--ok); background: #e8f5ec; border-radius: 6px; padding: .6rem .8rem; margin-bottom: 1rem; }
.muted { color: var(--muted); font-size: .9rem; }
.links { margin-top: 1.2rem; font-size: .9rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .9rem; }
.topbar a { margin-left: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
