* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--gq-font-ui);
  background: var(--gq-color-paper);
  color: var(--gq-color-text);
  line-height: 1.55;
}
.site-header {
  background: var(--gq-color-surface);
  border-bottom: var(--gq-border-thin) solid var(--gq-color-separator);
}
.site-nav {
  max-width: 62rem;
  margin: 0 auto;
  padding: var(--gq-space-3) var(--gq-space-4);
  display: flex;
  gap: var(--gq-space-6);
}
.site-nav a { color: var(--gq-color-text); text-decoration: none; font-weight: 600; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gq-color-coral);
  outline-offset: 2px;
}
.page { max-width: 62rem; margin: 0 auto; padding: var(--gq-space-6) var(--gq-space-4) var(--gq-space-12); }
h1 { font-size: var(--gq-text-2xl); line-height: 1.1; margin: 0 0 var(--gq-space-3); }
.intro { max-width: var(--gq-layout-reading-max); color: var(--gq-color-text-muted); }
.card {
  background: var(--gq-color-surface);
  border: var(--gq-border-thin) solid var(--gq-color-separator);
  border-radius: var(--gq-radius-panel);
  padding: 1.25rem;
  margin: 1.25rem 0;
}
.tabs { display: flex; gap: var(--gq-space-2); margin-bottom: var(--gq-space-4); flex-wrap: wrap; }
.tabs button[aria-selected="true"] { font-weight: 700; text-decoration: underline; }
.field { margin-bottom: var(--gq-space-4); }
.field label { display: block; margin-bottom: var(--gq-space-1); }
fieldset.field label { display: block; font-weight: 400; }
.field input[type="number"], .field input[type="password"], .field input[type="text"],
.field select { padding: var(--gq-space-2); max-width: 100%; }
button {
  font: inherit;
  padding: var(--gq-space-2) var(--gq-space-4);
  border: var(--gq-border-thin) solid var(--gq-color-control-border);
  border-radius: var(--gq-radius-control);
  background: var(--gq-color-surface);
  color: var(--gq-color-text);
  cursor: pointer;
}
button.primary { font-weight: 700; }
.expected { font-weight: 600; }
.note { color: var(--gq-color-text-muted); }
.error { color: var(--gq-color-danger-text); }
.final { font-weight: 700; font-size: var(--gq-text-lg); }
.secret-list { margin-top: var(--gq-space-4); display: grid; gap: var(--gq-space-2); }
.secret-row {
  display: flex;
  align-items: center;
  gap: var(--gq-space-3);
  flex-wrap: wrap;
  border: var(--gq-border-thin) solid var(--gq-color-separator);
  border-radius: var(--gq-radius-control);
  padding: var(--gq-space-2) var(--gq-space-3);
}
.secret { font-family: var(--gq-font-data); word-break: break-all; }
.bits { color: var(--gq-color-text-muted); font-family: var(--gq-font-data); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
