:root {
  font-family: system-ui, sans-serif;
  color: #19242a;
  background: #faf9f6;
  font-synthesis: none;
}
.console-menu {
  display: none;
}
@media (max-width: 760px) {
  .shell aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  aside .eyebrow {
    display: none;
  }
  aside .console-menu {
    display: block;
    min-height: 44px;
    padding: 8px 16px;
  }
  aside nav,
  aside .sidebar-footer {
    grid-column: 1/-1;
  }
  aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  aside nav button {
    font-size: 15px;
    text-align: start;
  }
  main header {
    gap: 16px;
    height: auto;
    min-height: 64px;
    padding-block: 12px;
  }
  main h1 {
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.15;
  }
  main .metrics {
    gap: 12px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
nav button {
  min-height: 44px;
}
#identity,
#account-name,
#keys article > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.metrics strong {
  font-variant-numeric: tabular-nums;
}
.shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
aside {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: auto;
  background: #f0eee8;
  border-right: 1px solid #d9d7d0;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  font:
    700 28px/1 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: -1px;
  text-decoration: none;
  color: inherit;
}
.brand img {
  width: 34px;
  height: 36px;
  object-fit: contain;
  margin-right: 10px;
  flex: none;
}
.brand span {
  color: #175cd3;
}
.markdown-reply {
  border: 1px solid #d9d7d0;
  padding: 24px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-align: start;
}
.markdown-reply > :first-child {
  margin-top: 0;
}
.markdown-reply > :last-child {
  margin-bottom: 0;
}
.markdown-reply p,
.markdown-reply li {
  unicode-bidi: plaintext;
}
.markdown-reply p {
  max-width: none;
}
.markdown-reply h1,
.markdown-reply h2,
.markdown-reply h3 {
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1.5;
}
.markdown-reply ul,
.markdown-reply ol {
  padding-inline-start: 1.5rem;
}
.markdown-reply pre,
.markdown-reply code {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}
.markdown-reply table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
}
.markdown-reply th,
.markdown-reply td {
  border: 1px solid #d9d7d0;
  padding: 8px;
}
.markdown-reply a {
  text-decoration: underline;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #596671;
}
nav {
  display: grid;
  gap: 6px;
}
nav button {
  background: transparent;
  color: #34434c;
  text-align: left;
  border: 0;
  padding: 12px;
}
nav button[aria-current="page"] {
  background: #e0e5ed;
  color: #193f94;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid #d9d7d0;
  padding-top: 16px;
}
.sidebar-footer button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #34434c;
}
.sidebar-footer button[aria-current="page"] {
  background: #e0e5ed;
  color: #193f94;
}
input[readonly] {
  background: #f0eee8;
  color: #596671;
}
main {
  padding: 0 6vw 64px;
  max-width: 1400px;
  width: 100%;
  min-width: 0;
}
header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
  color: #596671;
}
section {
  padding-top: 28px;
}
h1 {
  font:
    clamp(36px, 5vw, 64px) Georgia,
    serif;
  letter-spacing: -2px;
  margin: 20px 0;
}
h2 {
  font:
    26px Georgia,
    serif;
}
p {
  line-height: 1.65;
  max-width: 720px;
  color: #48545b;
}
form {
  max-width: 480px;
  display: grid;
  gap: 18px;
  margin: 28px 0;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #bfc4c6;
  border-radius: 5px;
  background: white;
  font: inherit;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
button {
  font: inherit;
  padding: 12px 18px;
  background: #244fab;
  color: white;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #2859c5;
  outline-offset: 4px;
}
details {
  padding: 18px 0;
  border-top: 1px solid #ddd;
  max-width: 480px;
}
summary {
  cursor: pointer;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 38px 0;
}
.metrics article {
  padding: 24px;
  border: 1px solid #d9d7d0;
  border-radius: 8px;
}
.metrics span {
  font-size: 12px;
  color: #596671;
}
.metrics strong {
  display: block;
  font:
    36px Georgia,
    serif;
  margin-top: 20px;
}
.inline {
  display: flex;
  align-items: end;
}
.inline label {
  flex: 1;
}
pre,
code {
  font-family: ui-monospace, monospace;
  font-size: 13px;
}
pre {
  background: #efeee9;
  border: 1px solid #d9d7d0;
  padding: 24px;
  overflow: auto;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#new-secret {
  background: #e4ebfa;
  padding: 20px;
  border-radius: 8px;
}
#secret {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 20px;
}
#keys article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}
#message:not(:empty) {
  padding: 14px;
  border-left: 3px solid #2859c5;
  background: #e4ebfa;
}
#message:empty {
  margin: 0;
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 12px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 2;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
    height: auto;
    padding: 20px;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }
  nav {
    grid-template-columns: repeat(3, 1fr);
  }
  nav button {
    text-align: center;
    font-size: 12px;
  }
  .sidebar-footer {
    margin-top: 0;
    padding-top: 8px;
  }
  main {
    padding: 0 max(22px, env(safe-area-inset-right))
      max(40px, env(safe-area-inset-bottom))
      max(22px, env(safe-area-inset-left));
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  #keys article {
    flex-wrap: wrap;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .inline {
    display: grid;
  }
  header {
    height: 65px;
  }
  h1 {
    letter-spacing: -1px;
  }
}
