
:root { color-scheme: light dark; --bg: #f5f6f8; --card: #fff; --text: #1c1f23; --muted: #6b7280; --line: #e3e5e9;
  --accent: #2563eb; --accent-text: #fff; --danger: #c62828; --ok-bg: #e8f5e9; --ok: #1b5e20; --err-bg: #fdecea; --warn: #b45309; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #121417; --card: #1c1f24; --text: #e6e8eb; --muted: #9aa1ab; --line: #2c3036; --accent: #4f8cff;
    --danger: #ef5350; --ok-bg: #16301b; --ok: #a5d6a7; --err-bg: #3a1c1c; --warn: #f59e0b; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); }
.top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 12px 24px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.logo { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--accent-text); font-size: 12px; font-weight: 800; }
nav { flex: 1; }
nav a { text-decoration: none; font-weight: 500; }
.who { display: flex; gap: 12px; align-items: center; margin: 0; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 24px; margin: 0 0 12px; }
h2 { font-size: 18px; margin: 0 0 12px; }
.muted { color: var(--muted); }
.warn { color: var(--warn); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.narrow { max-width: 420px; margin: 48px auto; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.grid .card { margin: 0; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.head-row h1 { margin: 0; }
label { display: block; margin: 0 0 12px; font-weight: 500; }
input, select { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
button, .button { display: inline-block; padding: 9px 16px; font: inherit; font-weight: 600; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-text); cursor: pointer; text-decoration: none; }
button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
button.danger { background: var(--danger); }
button.link { background: none; color: var(--accent); padding: 0; font-weight: 500; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.notice { background: var(--ok-bg); color: var(--ok); padding: 10px 14px; border-radius: 8px; }
.error { background: var(--err-bg); color: var(--danger); padding: 10px 14px; border-radius: 8px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; color: var(--muted); font-weight: 600; white-space: normal; vertical-align: bottom; }
tr:last-child td { border-bottom: 0; }
tr.off td { color: var(--muted); }
td.num { text-align: right; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 16px; }
dt { color: var(--muted); }
dd { margin: 0; }
.secret { border-color: var(--accent); }
.password { font: 600 22px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 1px; user-select: all; margin: 0 0 12px; }
