
:root { color-scheme: light dark; --bg: #f7f9fb; --panel: #ffffff; --chip: #ebeff4; --line: #dde3eb; --fg: #0b1220; --fg-2: #384357; --muted: #556075;
  --accent: #08735a; --accent-soft: #dcf2e9; --accent-soft-fg: #065a46; --accent-line: #8fd1b8; --on-accent: #ffffff; --danger: #b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg: #070a12; --panel: #0d1220; --chip: #111a2b; --line: #1c2638; --fg: #eef2fa; --fg-2: #b5bfd2; --muted: #8a95ac;
  --accent: #3fe0ac; --accent-soft: #0f2b27; --accent-soft-fg: #c9f5e4; --accent-line: #1f7a5e; --on-accent: #04150f; --danger: #ff7b72; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
header { padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--panel); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; }
.mark { width: 30px; height: 30px; display: block; }
main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
footer { padding: 20px 24px; text-align: center; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); }
h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 14px; } h2 { font-size: 17px; margin: 28px 0 8px; }
p, li { color: var(--fg-2); } .muted { color: var(--muted); font-size: 13px; }
a { color: var(--accent); text-underline-offset: 2px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 14px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat b { display: block; font-size: 22px; } .stat span { color: var(--muted); font-size: 13px; }
label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 14px; color: var(--fg); }
input, textarea, select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--fg); font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 96px; }
button, a.button { display: inline-block; margin-top: 16px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
button:hover, a.button:hover { filter: brightness(1.08); }
button:focus-visible, a.button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button.secondary { background: var(--chip); color: var(--fg); border: 1px solid var(--line); }
button.danger { background: var(--danger); color: #fff; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .row form { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: start; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; }
code { background: var(--accent-soft); color: var(--accent-soft-fg); padding: 2px 7px; border-radius: 6px; font: 600 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.notice { border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-soft-fg); padding: 10px 14px; border-radius: 10px; }
.error { border-color: var(--danger); background: transparent; color: var(--fg); }
.hp { position: absolute; inset-inline-start: -9999px; }
