:root { color-scheme: light dark; --line: #e5e5e5; --muted: #666; }
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; margin: 0; padding: 3rem 1.5rem; line-height: 1.5; }
main { max-width: 42rem; margin: 0 auto; }
h1 { font-size: 1.5rem; margin: 0 0 .25rem; }
h2 { font-size: 1rem; margin: 0 0 1rem; }
.sub { color: var(--muted); margin: 0 0 2rem; font-size: .85rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; margin-bottom: 1.25rem; }
.row { display: flex; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row .k { flex: 0 0 12rem; font-weight: 600; font-size: .85rem; }
.row .v { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; word-break: break-word; }
input { display: block; width: 100%; padding: .6rem .7rem; margin-bottom: .6rem; border: 1px solid var(--line); border-radius: 7px; font: inherit; background: transparent; color: inherit; }
.buttons { display: flex; gap: .6rem; margin-top: .4rem; }
button { padding: .55rem 1rem; border-radius: 7px; font: inherit; cursor: pointer; border: 1px solid var(--line); background: transparent; color: inherit; }
button.primary { background: #15803d; border-color: #15803d; color: #fff; }
button:disabled { opacity: .5; cursor: default; }
.msg { margin-top: .8rem; font-size: .85rem; min-height: 1.2em; }
.ok { color: #15803d; } .bad { color: #b91c1c; } .wait { color: #a16207; }
select { display:block; width:100%; padding:.6rem .7rem; margin-bottom:.6rem; border:1px solid var(--line); border-radius:7px; font:inherit; background:transparent; color:inherit; }
.hint { color: var(--muted); font-size:.85rem; margin:.2rem 0 1rem; }
.clickable { cursor:pointer; }
.clickable:hover { background: rgba(127,127,127,.08); }
.block { padding:.7rem 0; border-bottom:1px solid var(--line); }
.block:last-of-type { border-bottom:0; }
.chips { display:flex; flex-wrap:wrap; gap:.35rem; margin-top:.4rem; }
.chip { font-size:.75rem; padding:.2rem .55rem; border-radius:999px; opacity:.55; }
.chip.on { opacity:1; background:#15803d; border-color:#15803d; color:#fff; }
.footer { margin-top:2rem; }
