@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-return-arrow-wght-normal.woff2") format("woff2");
  unicode-range: U+21B5;
}

@font-face {
  font-family: "Intel One Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/intel-one-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-200F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Intel One Mono";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/intel-one-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-sans: "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "Intel One Mono", monospace;
  --text-brand: 1.375rem;
  --text-site: 1.25rem;
  --text-ui: 1rem;
  --edge: 24px;
  --bar-1-h: 38px;
  --bar-1-obj: 24px;
  --bar-1-syn-size: 20px;
  --bar-gap: 1px;
  --bar-2-h: 23px;
  --bar-3-h: 30px;
  --bar-3-cell: min(389px, 30%);
  --col-a: 39px;
  --col-name: 223px;
  --row-h: 36px;
  --list-top: 25px;
  --com-pal-x: 184px;
  --com-pal-y: 7px;
  --com-pal-w: 471px;
  --com-pal-h: 24px;
  --sel: 0;
  --t-fast: 120ms;
  --t-move: 200ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
  --bg: #ffffff;
  --chrome: #d4d0c7;
  --chrome-hover: #c9c5bc;
  --gutter: #ffffff;
  --line: #797979;
  --line-soft: #c5c1b8;
  --fg: #000000;
  --muted: #707070;
  --accent: #3366cc;
  --shadow: rgba(0, 0, 0, 0.14);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c1c1c;
  --chrome: #333333;
  --chrome-hover: #404040;
  --gutter: #d9d9d9;
  --line: #8c8c8c;
  --line-soft: #595959;
  --fg: #f2f2f2;
  --muted: #a0a0a0;
  --shadow: rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-ui);
  line-height: 1.375;
}

h1,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

img,
svg {
  display: block;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

.bar-1 {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: var(--bar-1-h);
  padding: 0 calc(var(--edge) - 1px);
  background: var(--chrome);
  border: 1px solid var(--line);
}

.bar-1-logo {
  display: flex;
  flex: none;
  align-items: center;
}

.bar-1-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bar-1-syn {
  flex: none;
  width: var(--bar-1-syn-size);
  height: var(--bar-1-syn-size);
}

.bar-1-wordmark,
.site_name {
  margin-bottom: 4px;
  font-size: var(--text-brand);
  line-height: var(--bar-1-obj);
  white-space: nowrap;
}

.bar-1-wordmark {
  margin-left: 15px;
  font-weight: 600;
}

.site_name {
  margin-left: auto;
  font-size: var(--text-site);
  font-weight: 300;
}

.com-pal {
  position: fixed;
  top: var(--com-pal-y);
  left: var(--com-pal-x);
  display: flex;
  align-items: center;
  width: var(--com-pal-w);
  height: var(--com-pal-h);
  background: var(--bg);
  border: 1px solid var(--line);
}

.com-pal:has(.com-pal-input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.com-pal-icon {
  flex: none;
  width: 15px;
  height: 15px;
  margin-left: 7px;
  color: var(--muted);
}

.com-pal-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin-left: 9px;
  padding: 0 6px 0 0;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: var(--text-ui);
  line-height: 1rem;
  caret-color: var(--accent);
  outline: none;
}

.com-pal-input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.com-pal-pop {
  position: absolute;
  top: 100%;
  right: -1px;
  left: -1px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 5px 5px 0 var(--shadow);
}

.com-pal-pop:not([hidden]) {
  animation: com-pal-in var(--t-fast) var(--ease-out);
}

.com-pal-list {
  padding: 5px 0;
  list-style: none;
}

.com-pal-item {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  cursor: default;
  user-select: none;
}

.com-pal-item[aria-selected="true"] {
  background: var(--chrome);
}

.com-pal-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.com-pal-empty {
  padding: 14px 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-ui);
  line-height: 1.375;
}

.com-pal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 16px;
  background: var(--chrome);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-ui);
  line-height: 1;
}

.com-pal-key {
  font-family: var(--font-sans);
}

.bar-2 {
  position: fixed;
  inset: calc(var(--bar-1-h) + var(--bar-gap)) 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: calc(var(--col-a) - 1px) var(--col-name) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: 1px;
  height: var(--bar-2-h);
  padding: 0 calc(var(--edge) - 1px);
  background: linear-gradient(var(--gutter), var(--gutter)) content-box, var(--chrome);
  border: 1px solid var(--line);
}

.bar-2 > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding-bottom: 3px;
  background: var(--chrome);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.bar-2-grip {
  border-left: 0;
}

.bar-2-fill {
  border-right: 0;
}

.bar-2-grip svg {
  margin-top: 2px;
}

.main {
  position: fixed;
  inset: calc(var(--bar-1-h) + var(--bar-gap) + var(--bar-2-h)) 0 var(--bar-3-h) 0;
  display: grid;
  grid-template-columns: var(--col-a) var(--col-name) minmax(0, 1fr);
  align-items: start;
  padding: var(--list-top) var(--edge) 24px;
  overflow-y: auto;
  background: var(--bg);
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--bg);
}

.ind-sel {
  position: absolute;
  top: calc(var(--list-top) + (var(--row-h) - 10px) / 2);
  left: calc(var(--edge) + (var(--col-a) - 10px) / 2);
  width: 10px;
  height: 10px;
  color: var(--accent);
  pointer-events: none;
  transform: translateY(calc(var(--sel) * var(--row-h)));
  transition: transform var(--t-move) var(--ease-out);
}

.lis-les {
  grid-column: 2;
  padding: 0;
  list-style: none;
}

.lis-les:focus {
  outline: none;
}

.lis-les-item {
  position: relative;
  display: grid;
  place-items: center;
  height: var(--row-h);
  font-weight: 700;
  white-space: nowrap;
  cursor: default;
  user-select: none;
}

.lis-les-item::before {
  content: "";
  position: absolute;
  inset: 7px 0;
  border: 1px solid transparent;
  transition: border-color var(--t-fast) linear;
}

.lis-les-item[aria-selected="true"]::before {
  border-color: var(--line);
}

.lis-les:focus-visible [aria-selected="true"]::before {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.con-st {
  grid-column: 3;
  min-width: 0;
  padding: 6px 0 0 var(--edge);
}

.con-st-entry {
  max-width: 68ch;
  font-weight: 300;
  line-height: 1.5;
}

.con-st-entry:not([hidden]) {
  animation: con-st-in var(--t-move) var(--ease-out);
}

.bar-3 {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--bar-3-cell) var(--bar-3-cell);
  grid-template-rows: minmax(0, 1fr);
  column-gap: 1px;
  height: var(--bar-3-h);
  padding: 0 calc(var(--edge) - 1px);
  background: linear-gradient(var(--gutter), var(--gutter)) content-box, var(--chrome);
  border: 1px solid var(--line);
}

.bar-3 > * {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  background: var(--chrome);
  border: 0 solid var(--line);
  border-right-width: 1px;
  border-left-width: 1px;
}

.bar-3-path {
  justify-content: flex-start;
  padding-right: var(--edge);
  padding-bottom: 2px;
  overflow: hidden;
  border-left: 0;
  font-family: var(--font-mono);
  font-size: var(--text-ui);
  white-space: nowrap;
}

.bar-3 button {
  justify-content: center;
  padding: 0;
  cursor: pointer;
  appearance: none;
  transition: background-color var(--t-fast) linear;
}

.bar-3-open {
  border-right: 0;
}

.bar-3 button:active {
  padding-top: 2px;
}

.bar-3 button:focus-visible {
  outline: 1px dotted var(--fg);
  outline-offset: -4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@keyframes com-pal-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes con-st-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) {
  .lis-les-item:not([aria-selected="true"]):hover::before {
    border-color: var(--line-soft);
  }

  .bar-3 button:hover {
    background: var(--chrome-hover);
  }
}

@media (hover: none) and (pointer: coarse) {
  .com-pal-foot {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --edge: 16px;
  }
}

@media (max-width: 1023px) {
  :root {
    --bar-1-h: 56px;
    --col-a: 22px;
    --col-pad: 8px;
    --row-h: 44px;
    --list-top: 16px;
    --com-pal-h: 40px;
    --bar-3-h: 77px;
  }

  .site_name {
    display: none;
  }

  .com-pal {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 1 var(--com-pal-w);
    min-width: 0;
    margin-left: var(--edge);
  }

  .com-pal-pop {
    margin-top: calc((var(--bar-1-h) - var(--com-pal-h)) / 2);
    left: auto;
    width: max(calc(100% + 2px), min(calc(100vw - 2 * var(--edge)), var(--com-pal-w)));
  }

  .com-pal-list {
    padding: 8px 0;
  }

  .com-pal-item {
    height: 44px;
    padding: 0 var(--edge);
  }

  .com-pal-foot {
    height: 36px;
    padding: 0 var(--edge);
  }

  .bar-2 {
    grid-template-columns: calc(var(--col-a) - 1px) minmax(0, 1fr);
  }

  .bar-2-name {
    justify-content: flex-start;
    padding-left: var(--col-pad);
    border-left: 0;
    border-right: 0;
    box-shadow: inset 1px 0 0 var(--line);
  }

  .bar-2-fill {
    display: none;
  }

  .main {
    display: block;
  }

  .lis-les {
    max-width: 30rem;
    padding-left: var(--col-a);
  }

  .lis-les-item {
    justify-items: start;
    padding-left: var(--col-pad);
  }

  .lis-les-item::before {
    inset: 8px 0;
  }

  .con-st {
    padding: 16px 0 24px calc(var(--col-a) + var(--col-pad));
  }

  .bar-3 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 30px 44px;
    gap: 1px;
  }

  .bar-3-path {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: 0;
  }

  .bar-3-theme {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
