:root {
  font:
    12px/1.5 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #202020;
  background: #fff;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main,
footer {
  width: min(100% - 32px, 840px);
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 58px;
  border-bottom: 1px solid #e5e5e5;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header a,
footer a {
  text-decoration: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: 14px;
}
.blob {
  display: inline-block;
  width: 23px;
  height: 23px;
  background: #202020;
  border-radius: 49% 45% 48% 43%;
  transform: rotate(-10deg);
}
nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
nav a {
  color: #777;
}
nav a[aria-current="page"] {
  color: #202020;
  text-decoration: underline;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 20px;
  font-weight: 500;
}
h2 {
  font-size: 13px;
  font-weight: 600;
}
.page-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 24px;
}
#account-name {
  color: #777;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}
section {
  margin-bottom: 24px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}
#connect-panel {
  max-width: 460px;
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 14px 16px 12px 17px;
}
#connect-panel h2 {
  margin-bottom: 16px;
}
label {
  display: block;
  margin-bottom: 5px;
}
input,
select,
button,
textarea {
  font: inherit;
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  background: #fff;
  color: inherit;
  padding: 7px 9px;
  min-height: 33px;
}
input {
  min-width: 0;
  flex: 1;
}
select {
  min-width: 0;
  max-width: 100%;
}
button {
  cursor: pointer;
  white-space: nowrap;
}
button:hover {
  background: #f3f3f3;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: #202020;
  color: #fff;
  border-color: #202020;
}
.primary:hover {
  background: #383838;
}
.inline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0;
  flex-wrap: wrap;
}
#file {
  flex: 1;
  width: 210px;
}
#storage {
  max-width: 260px;
}
#file-search {
  min-width: 160px;
}
.muted {
  color: #777;
  font-size: 11px;
  margin: 10px 0;
}
.rows {
  margin-top: 18px;
  border-top: 1px solid #ddd;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 57px;
  padding: 10px 0;
  border-bottom: 1px solid #e9e9e9;
}
.row-info {
  flex: 1;
  min-width: 0;
}
.row-name {
  overflow-wrap: anywhere;
}
.row-detail {
  font-size: 11px;
  color: #777;
  margin-top: 2px;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.tag {
  color: #777;
  font-size: 10px;
}
.empty {
  padding: 24px 0;
  color: #777;
}
.account-details {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 7px;
  font-size: 11px;
  color: #777;
  margin: 14px 0 28px;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #888;
  padding: 15px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 30px;
  font-size: 10px;
}
#error,
#notice {
  padding: 10px 12px;
  border: 1px solid #ccc;
  margin-bottom: 14px;
  border-radius: 7px;
}
#error {
  border-style: dashed;
}
dialog {
  width: min(460px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid #ccc;
  border-radius: 17px 15px 19px 14px;
  box-shadow: 0 15px 80px #0002;
}
dialog::backdrop {
  background: #0003;
  backdrop-filter: blur(3px);
}
dialog .section-title {
  margin-top: 0;
}
textarea {
  display: block;
  width: 100%;
  height: 90px;
  overflow-wrap: anywhere;
  resize: vertical;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  header {
    gap: 12px;
  }
  nav {
    gap: 12px;
  }
  .brand {
    font-size: 12px;
  }
  .row {
    align-items: flex-start;
  }
  .row-actions {
    flex-direction: column;
    align-items: flex-end;
  }
  #disconnect {
    font-size: 10px;
    padding: 5px;
  }
  .page-title {
    margin: 18px 0;
  }
  input,
  select {
    font-size: 16px;
  }
  #connect-panel {
    padding: 12px;
  }
}
