@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  color-scheme: light;
  font-family: "Space Mono", monospace;
  color: #202124;
  background: #f7f7f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  line-height: 1.5;
}

main {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

header {
  border-bottom: 1px solid #d8d8d2;
  padding-bottom: 1.5rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  color: #6b6b64;
  font-size: .75rem;
  letter-spacing: .12em;
  margin: 0 0 .75rem;
  text-transform: uppercase;
}

h1 {
  font-family: inherit;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0;
}

.path {
  color: #6b6b64;
  margin: .75rem 0 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border-bottom: 1px solid #e2e2dd;
  padding: .7rem .5rem;
  text-align: left;
}

th {
  color: #6b6b64;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
}

th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }

.name { min-width: 40%; }
.name span { color: #8a8a82; display: inline-block; width: 1.25rem; text-align: center; }

a { color: #2457a6; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #16396e; }

.parent td { color: #6b6b64; }
.empty, footer { color: #6b6b64; }
footer { font-size: .8rem; padding-top: 1.25rem; }

.file-toolbar {
  align-items: center;
  display: flex;
  font-size: .8rem;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.file-toolbar span { color: #6b6b64; }

.document {
  background: #fff;
  border: 1px solid #d8d8d2;
  overflow-x: auto;
  padding: 1.25rem;
}

.document pre {
  font: inherit;
  margin: 0;
  min-width: max-content;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }

@media (max-width: 42rem) {
  main { padding-top: 2rem; }
  th:nth-child(2), td:nth-child(2) { display: none; }
  th, td { padding: .65rem .35rem; }
  .name { min-width: 60%; }
}
