/* CompEcho — small hand-written stylesheet (Tailwind deferred to Plan 7). */
:root { --ink: #1b1f23; --muted: #5b6470; --line: #d9dee3; --accent: #0b5fff; --error: #b3261e; --ok: #1b7f3b; --bg: #f7f8fa; }
* { box-sizing: border-box; }
html { font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
header.top .brand { font-weight: 700; text-decoration: none; color: var(--ink); }
header.top nav { display: flex; gap: 1rem; align-items: center; }
main { flex: 1; width: 100%; max-width: 32rem; margin: 2rem auto; padding: 0 1rem; }
footer { padding: 1rem 1.5rem; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); background: #fff; }
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
form.card, .card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem; }
label { display: block; font-weight: 600; margin-top: 1rem; }
input[type=email], input[type=password], input[type=text] { width: 100%; padding: 0.6rem; margin-top: 0.25rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
button { margin-top: 1.25rem; padding: 0.6rem 1rem; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
button.link { background: none; color: var(--accent); padding: 0; margin: 0; font-weight: 400; text-decoration: underline; }
form.inline { display: inline; }
.error { color: var(--error); font-weight: 600; }
.notice { color: var(--ok); font-weight: 600; }
.muted { color: var(--muted); }
.codes { columns: 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.1rem; list-style: none; padding: 0; }
.codes li { padding: 0.2rem 0; }
.qr { display: block; margin: 1rem auto; width: 200px; height: 200px; image-rendering: pixelated; }
.key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; }
dt { color: var(--muted); }
dd { margin: 0; }
table.members { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
table.members th, table.members td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.members th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
select { padding: 0.4rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
button.small { margin: 0 0 0 0.25rem; padding: 0.4rem 0.6rem; font-size: 0.9rem; }
button.danger { background: var(--error); }
ul.orgs { list-style: none; padding: 0; margin: 0; }
ul.orgs li { padding: 0.25rem 0; }
input.code { width: 7rem; margin: 0 0 0 0.25rem; padding: 0.4rem; display: inline-block; }
.status { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 1px solid var(--line); }
.status-pass, .status-connected { color: var(--ok); }
.status-fail, .status-error { color: var(--error); }
.status-pending { color: var(--muted); }
.actions { display: flex; gap: 0.75rem; margin: 1rem 0; }
dl.card dt { color: var(--muted); font-size: 0.85rem; margin-top: 0.5rem; }
dl.card dd { margin: 0; word-break: break-all; }
