/* Flat grey, no card, no modal. The prompt and its control sit in the middle of the
   page and nothing else competes with them. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: grid;
  place-items: center;
  background: #d9dadc;
  color: #17181a;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 24px;
}
body.wide { place-items: start center; padding: 40px 24px; }
main { width: 100%; max-width: 340px; text-align: center; }
main.wide { max-width: 860px; text-align: left; }

h1 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: #101113; }
p  { margin: 0 0 26px; font-size: .9rem; color: #46494d; }

button {
  padding: 12px 20px;
  border: 0;
  border-radius: 6px;
  background: #17181a;
  color: #f2f2f3;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
button.block { width: 100%; }
button:hover:not(:disabled) { background: #24262a; }
button:disabled { opacity: .55; cursor: default; }
button svg { width: 17px; height: 17px; flex: none; }
button.quiet { background: transparent; color: #17181a; border: 1px solid #a8abae; font-weight: 500; padding: 6px 12px; }
button.quiet:hover:not(:disabled) { background: #c7c9cb; }

input, select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #a8abae;
  border-radius: 6px;
  background: #f0f1f2;
  color: #101113;
  font: inherit;
}
input::placeholder { color: #6b6e72; }
input:focus, select:focus { outline: none; border-color: #17181a; }
label.field { display: block; text-align: left; margin-bottom: 14px; }
label.field span { display: block; font-size: .8rem; margin-bottom: 5px; color: #46494d; }

/* Status replaces nothing and moves nothing — it occupies reserved space so the
   control never shifts under the cursor when a message appears. */
.status { margin-top: 14px; min-height: 2.6em; font-size: .84rem; color: #46494d; }
.status[data-kind="error"] { color: #8c1d1f; }
.status[data-kind="ok"] { color: #1a5c2c; }

/* key list */
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 9px 10px; border-top: 1px solid #bcbfc2; vertical-align: top; }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #46494d; font-weight: 600; }
tr.off td { opacity: .5; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; }
.scopes { display: flex; flex-wrap: wrap; gap: 6px; }
.scope {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eceded; border: 1px solid #b3b6b9; border-radius: 999px; padding: 2px 4px 2px 10px;
}
.scope button { background: none; color: #17181a; padding: 0 6px; font-size: 1rem; line-height: 1; }
.scope button:hover { background: none; color: #8c1d1f; }
.row { display: flex; gap: 8px; align-items: center; }
.muted { color: #55585c; font-size: .82rem; }
