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

* {
  border: 0;
  border-radius: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

input {
  appearance: none;
  background: none;
  color: inherit;
}

body {
  background: #fff;
  color: #1f1f1f;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 24px;
}

.Logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-bottom-right-radius: 12px;
  cursor: pointer;
  display: flex;
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: 56px;
  left: 0;
  padding: 0 24px;
  position: fixed;
  top: 0;
  user-select: none;
  z-index: 10000;
}

.ApplicationMenu {
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  background: #fff;
  border-radius: 0 12px 0 0;
  bottom: 0;
  box-shadow: 0 0 3px 1px #f7f7f7;
  display: none;
  flex-direction: column;
  left: 0;
  position: fixed;
  top: 56px;
  width: 300px;
  z-index: 9999;
}
.ApplicationMenu[data-open] {
  display: flex;
}
.ApplicationMenu-Section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}
.ApplicationMenu-Section + .ApplicationMenu-Section {
  border-top: 1px solid #f9f9f9;
}
.ApplicationMenu-Link {
  display: block;
  font-size: 15px;
  line-height: 23px;
  padding: 0 24px;
}

.Control {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-bottom-left-radius: 12px;
  display: flex;
  gap: 24px;
  height: 56px;
  padding: 0 32px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10000;
}
.Control:empty {
  display: none;
}
.Control-Item {
  cursor: pointer;
  display: flex;
  gap: 8px;
  user-select: none;
}
.Control-Item[data-selected], .Control-Item[data-open] {
  color: #ff8c00;
}
.Control-Item-Count {
  color: #6b6b7a;
}
.Control-Search {
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 24px;
  padding: 3px 12px;
  width: 280px;
}

.ControlPanel {
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  background: #fff;
  border-radius: 12px 0 0 0;
  bottom: 0;
  box-shadow: 0 0 3px 1px #f7f7f7;
  display: none;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 56px;
  width: 400px;
  z-index: 9999;
}
.ControlPanel[data-open] {
  display: block;
}
.ControlPanel-Meta {
  column-gap: 16px;
  display: grid;
  grid-template-columns: max-content 1fr;
}
.ControlPanel-Meta-Key {
  color: #6b6b7a;
  padding: 6px 0;
  text-align: right;
}
.ControlPanel-Meta-Value {
  padding: 6px 0;
  word-break: break-all;
}
.ControlPanel-Meta-Value a {
  text-decoration: underline;
}

.Registry {
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  inset: 0;
  position: fixed;
}
.Registry-Article {
  margin: 0 auto;
  padding: 80px 40px 96px;
  width: 720px;
}
.Registry-Title {
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  word-break: break-all;
}
.Registry-Lead {
  color: #6b6b7a;
  margin-top: 12px;
}
.Registry-Command {
  background: #fafafa;
  border-radius: 3px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  margin-top: 20px;
  padding: 12px 16px;
  word-break: break-all;
}
.Registry-Empty {
  color: #6b6b7a;
  margin-top: 20px;
}
.Registry-Result {
  margin-top: 8px;
}

.Readme, .Guide {
  font-size: 17px;
  line-height: 31px;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.Readme h1, .Readme h2, .Readme h3, .Readme h4, .Readme h5, .Readme h6, .Guide h1, .Guide h2, .Guide h3, .Guide h4, .Guide h5, .Guide h6 {
  font-weight: 500;
  margin-top: 28px;
}
.Readme h1, .Readme h2, .Guide h1, .Guide h2 {
  font-size: 20px;
  line-height: 34px;
}
.Readme h3, .Readme h4, .Readme h5, .Readme h6, .Guide h3, .Guide h4, .Guide h5, .Guide h6 {
  font-size: 18px;
  line-height: 28px;
}
.Readme p, .Readme ul, .Readme ol, .Readme pre, .Readme table, .Readme blockquote, .Guide p, .Guide ul, .Guide ol, .Guide pre, .Guide table, .Guide blockquote {
  margin-top: 12px;
}
.Readme ul, .Readme ol, .Guide ul, .Guide ol {
  padding-left: 24px;
}
.Readme a, .Guide a {
  text-decoration: underline;
}
.Readme code, .Guide code {
  background: #fafafa;
  border-radius: 3px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  padding: 1px 4px;
}
.Readme pre, .Guide pre {
  overflow-x: auto;
  overscroll-behavior-x: none;
  background: #fafafa;
  border-radius: 3px;
  font-size: 13px;
  line-height: 20px;
  padding: 12px 16px;
}
.Readme pre code, .Guide pre code {
  background: none;
  font-size: 13px;
  padding: 0;
}
.Readme table, .Guide table {
  border-collapse: collapse;
}
.Readme th, .Readme td, .Guide th, .Guide td {
  font-size: 16px;
  line-height: 24px;
  padding: 4px 12px;
  text-align: left;
}
.Readme blockquote, .Guide blockquote {
  color: #6b6b7a;
  padding-left: 16px;
  position: relative;
}
.Readme blockquote::before, .Guide blockquote::before {
  background-color: #6b6b7a;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 1px;
}

.PackageList {
  margin-top: 20px;
}
.PackageList-Empty {
  color: #6b6b7a;
  margin-top: 20px;
}
.PackageList-Item {
  display: grid;
  gap: 2px 16px;
  grid-template-columns: 1fr auto;
  padding: 14px 0;
}
.PackageList-Item-Name {
  font-weight: 500;
  word-break: break-all;
}
.PackageList-Item-Version {
  color: #6b6b7a;
  text-align: right;
}

.VersionList-Empty {
  color: #6b6b7a;
}
.VersionList-Item {
  border-radius: 2px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto auto;
  padding: 10px 12px;
}
.VersionList-Item[data-selected] {
  background: #f7f7f7;
}
.VersionList-Item-Size {
  color: #6b6b7a;
}
.VersionList-Item-Time {
  color: #6b6b7a;
}

.FileScreen {
  display: flex;
  height: 100%;
  margin: 0 auto;
  width: 1040px;
}

.FileTree {
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  flex: 0 0 320px;
  padding: 80px 16px 96px;
}
.FileTree-Item {
  border-radius: 2px;
  cursor: pointer;
  display: block;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 22px;
  padding: 5px 12px;
  user-select: none;
  word-break: break-all;
}
.FileTree-Item[data-selected] {
  background: #f7f7f7;
}
.FileTree-Children {
  display: none;
  padding-left: 16px;
}
.FileTree-Directory[data-open] > .FileTree-Children {
  display: block;
}

.FileView {
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  flex: 0 0 720px;
  padding: 80px 40px 96px;
}
.FileView-Title {
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
  word-break: break-all;
}

.FileList {
  margin-top: 16px;
}
.FileList-Empty {
  color: #6b6b7a;
  margin-top: 20px;
}
.FileList-Item {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  padding: 8px 0;
}
.FileList-Item-Name {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  word-break: break-all;
}
.FileList-Item-Size {
  color: #6b6b7a;
}

.Source {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 20px;
}
.Source-Empty {
  color: #6b6b7a;
  margin-top: 20px;
}
.Source-Number {
  color: #f0f0f0;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  padding-right: 16px;
  text-align: right;
  user-select: none;
}
.Source-Text {
  overflow-x: auto;
  overscroll-behavior-x: none;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 20px;
  tab-size: 4;
}