:root {
  color-scheme: light;
  --paper: #f6f5ed;
  --ink: #22231f;
  --muted: #65685b;
  --rule: #c9cbbd;
  --accent: #e8df52;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
.button {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: var(--accent);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover {
  color: var(--ink);
}
input,
select {
  min-width: 0;
  max-width: 100%;
  padding: 10px;
  border: 1px solid var(--rule);
  background: transparent;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  max-width: 1060px;
  margin: auto;
  padding: 0 40px;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
  gap: 20px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wordmark {
  font-weight: bold;
  text-decoration: none;
}
.tag,
.eyebrow,
.muted,
.section-head > span,
footer,
.footnote {
  color: var(--muted);
}
.eyebrow {
  margin-top: 56px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}
h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 22px 0;
}
.accent {
  background: var(--accent);
}
.intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
}
h2 {
  font-size: 17px;
  font-weight: 500;
  margin: 0;
}
h3 {
  font-size: 15px;
  font-weight: 500;
}
p {
  margin: 12px 0;
}
.panel {
  padding: 28px;
  border: 1px solid var(--rule);
  margin: 28px 0;
}
.login {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.login .button {
  white-space: nowrap;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px;
  margin: 36px 0 20px;
  gap: 20px;
}
.section-head > span {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.budgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.budget {
  border: 1px solid var(--rule);
  padding: 22px;
}
.budget strong {
  display: block;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.budget p {
  color: var(--muted);
  font-size: 12px;
}
.budget progress {
  width: 100%;
  height: 7px;
  accent-color: var(--ink);
}
.inline-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.inline-form input {
  flex: 1;
}
.key-row,
.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.key-row p {
  margin: 0;
  overflow-wrap: anywhere;
}
.key-row code {
  color: var(--muted);
}
.callout {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: #eeede2;
  margin: 20px 0;
}
.callout code {
  display: block;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.callout button + button {
  margin-left: 8px;
}
pre {
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--rule);
  padding: 22px;
  font-size: 13px;
  background: #eeede2;
}
code {
  font: inherit;
  overflow-wrap: anywhere;
}
details {
  border: 1px solid var(--rule);
  padding: 18px 22px;
  margin: 20px 0;
}
summary {
  cursor: pointer;
  font-weight: 500;
}
.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}
label {
  display: block;
  font-size: 12px;
}
label input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person {
  padding: 22px;
  border: 1px solid var(--rule);
  margin: 16px 0;
}
.person h3 {
  overflow-wrap: anywhere;
  margin-top: 0;
}
.permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  grid-column: 1/-1;
}
fieldset {
  border: 1px solid var(--rule);
  padding: 14px;
}
legend {
  font-size: 12px;
}
.empty {
  color: var(--muted);
  padding: 14px 0;
}
.footnote {
  max-width: 700px;
  margin: 48px 0 36px;
  font-size: 12px;
}
.footnote > span {
  color: var(--ink);
}
footer {
  border-top: 1px solid var(--rule);
  border-bottom: 0;
  font-size: 12px;
  margin-top: 30px;
}
#notice:empty {
  display: none;
}
#notice {
  border-left: 3px solid var(--ink);
  padding: 12px 16px;
  overflow-wrap: anywhere;
}
.skip {
  position: absolute;
  top: -60px;
}
.skip:focus {
  top: 10px;
  background: var(--paper);
  padding: 10px;
}
.log-row {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.key-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; gap: 20px; margin: 24px 0 36px; }
.key-menu button, .key-menu > a { display: block; padding: 24px; min-height: 120px; text-align: left; overflow-wrap: anywhere; border: 1px solid var(--rule); text-decoration: none; }
.key-menu button[aria-current="true"], .key-menu > a[aria-current="page"], .key-menu > a:hover { border-color: var(--ink); background: var(--accent); }
.key-menu small { display: block; color: var(--muted); }
#key-page { margin-top: 36px; min-width: 0; }
#key-title { overflow-wrap: anywhere; }
.key-back { display: inline-block; margin-bottom: 8px; }
.key-toolbar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 18px 0; margin-bottom: 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.key-toolbar button { flex: 1 1 160px; padding: 12px 16px; font-size: 14px; }
#key-page section { scroll-margin-top: 24px; }
.key-detail { width: 100%; min-width: 0; border: 1px solid var(--rule); padding: 28px; margin-top: 24px; overflow-wrap: anywhere; }
.key-detail h3 { margin-top: 0; }
.key-detail > section + section { border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 28px; }
.key-detail h2 { margin-bottom: 18px; }
.key-card > span { display: block; margin-top: 18px; font-size: 12px; }
.key-detail h4 { border-top: 1px solid var(--rule); padding-top: 16px; margin-bottom: 8px; }
.key-detail dl { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); gap: 8px 16px; }
.key-detail dt { color: var(--muted); }
.key-detail dd { margin: 0; }
.key-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.key-detail table { width: 100%; border-collapse: collapse; font-size: 12px; }
.key-detail th, .key-detail td { text-align: left; padding: 8px 4px; border-bottom: 1px solid var(--rule); }
.key-detail th { font-weight: 500; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; margin: 20px 0; }
.table-scroll table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 12px; }
.table-scroll th, .table-scroll td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.table-scroll th { background: #eeede2; font-weight: 500; white-space: nowrap; }
@media (max-width: 650px) {
  .key-detail { padding: 16px; }
  .key-menu button, .key-menu > a { padding: 20px; font-size: 14px; }
  .key-toolbar button { padding: 12px 16px; font-size: 14px; }
  .shell {
    padding: 0 20px;
  }
  .eyebrow {
    margin-top: 36px;
  }
  .login {
    align-items: flex-start;
    flex-direction: column;
  }
  .budgets,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    width: 100%;
  }
  .inline-form input {
    width: 100%;
  }
  .inline-form button {
    width: 100%;
  }
  .key-row {
    align-items: flex-start;
  }
  .tag {
    font-size: 11px;
  }
  .panel {
    padding: 20px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .permission-list {
    grid-column: auto;
  }
  h1 {
    font-size: 38px;
  }
  nav {
    gap: 8px;
  }
  nav button {
    padding: 5px;
    font-size: 12px;
  }
}
