
:root {
  --ink: #1d2024; --paper: #f5f5f2; --muted: #5c636b; --line: #d6d8d4;
  --ice: #3d6f8f; --ice-ink: #ffffff; --coral: #9c4a3c; --sage: #4c6b52; --sand: #8a7448; --field: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #e6e7e4; --paper: #15171a; --muted: #a2a8ad; --line: #33373c;
    --ice: #8fb4c9; --ice-ink: #101214; --coral: #d99a8c; --sage: #9fbf9f; --sand: #cdb68a; --field: #1d2024; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font: 1.0625rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
main, footer { max-width: 34rem; margin: 0 auto; padding: 1.25rem 1rem; }
.brand { margin: 0 0 1.5rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 1rem; overflow-wrap: anywhere; }
h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
p { margin: 0 0 1rem; overflow-wrap: anywhere; }
section { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .5rem; }
ul { list-style: none; padding: 0; margin: 0 0 1rem; }
li { padding: .5rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
li form { margin-top: .5rem; }
form { margin: 0 0 1rem; }
label { display: block; font-weight: 600; margin: 0 0 .375rem; }
input[type=email], input[type=text] { display: block; width: 100%; min-height: 3rem; padding: .5rem .75rem;
  font: inherit; color: var(--ink); background: var(--field); border: 1px solid var(--muted); border-radius: .5rem; margin: 0 0 1rem; }
input[aria-invalid=true] { border-color: var(--coral); }
.field-error { color: var(--coral); margin-top: -.5rem; }
.check { display: flex; align-items: center; gap: .75rem; min-height: 3rem; font-weight: 400; }
.check input { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; }
button, a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; min-width: 3rem;
  padding: .625rem 1.25rem; font: inherit; font-weight: 600; border-radius: .5rem; border: 1px solid var(--ice);
  background: var(--ice); color: var(--ice-ink); text-decoration: none; cursor: pointer; text-align: center; }
button.quiet { background: transparent; color: var(--ice); }
button.danger { background: transparent; color: var(--coral); border-color: var(--coral); }
a.plain { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ice); text-underline-offset: .2em; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.note { padding: .75rem 1rem; border-radius: .5rem; border: 1px solid var(--line); }
.note.ok { border-color: var(--sage); }
.note.bad { border-color: var(--coral); }
p.code { font-size: 2.25rem; line-height: 1.2; letter-spacing: .12em; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 1rem; }
p.mac-name { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; margin: 0 0 1rem; }
.lang { margin-top: 1rem; }
footer { color: var(--muted); font-size: .95rem; }
footer form { display: inline; }
@media (max-width: 380px) { button, a.button { width: 100%; } }
/* The owner's page: wider, tables, its forms in a row, the bars of one account. */
body.admin header, body.admin main { max-width: 72rem; margin: 0 auto; padding: 1rem; }
body.admin header { padding-bottom: 0; }
body.admin .brand { margin-bottom: .5rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; }
.tabs li { border: 0; padding: 0; }
.tabs a[aria-current=page] { color: var(--ink); font-weight: 700; text-decoration: none; }
.scroll { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 600; padding: .5rem 0; }
th, td { text-align: left; padding: .5rem .625rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-weight: 600; white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
td form { margin: 0; }
dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .375rem 1rem; margin: 0 0 1rem; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
form.row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem 1rem; }
form.row .field { flex: 1 1 14rem; }
form.row .field input, form.row .field select, form.row .field textarea { margin-bottom: 0; }
select, textarea { display: block; width: 100%; min-height: 3rem; padding: .5rem .75rem; font: inherit; color: var(--ink);
  background: var(--field); border: 1px solid var(--muted); border-radius: .5rem; margin: 0 0 1rem; }
select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.bad { color: var(--coral); }
.muted { color: var(--muted); }
.pre { white-space: pre-wrap; }
svg.bars { display: block; width: 100%; height: auto; margin: 0 0 .5rem; border-bottom: 1px solid var(--line); }
.svc-claude { fill: var(--ice); background: var(--ice); }
.svc-voice { fill: var(--sage); background: var(--sage); }
.svc-listen { fill: var(--sand); background: var(--sand); }
.svc-decide { fill: var(--muted); background: var(--muted); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.key { display: inline-block; width: .875rem; height: .875rem; border-radius: .2rem; }
.key-word { margin-right: .75rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
