@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #ffffff;
  --panel: #fafafa;
  --ink: #3f3f46;
  --muted: #71717a;
  --line: #e4e4e7;
  --blue: #52525b;
  --selected: #fafafa;
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fafafa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 28px 32px 20px;
  background-image: radial-gradient(#e4e4e755 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  background: var(--paper);
  padding: 8px 13px;
  box-shadow: 0 1px 0 #00000009;
}
button:hover {
  background: #ffffff;
  border-color: #a1a1aa;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
input,
select,
textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 11px;
  max-width: 100%;
}
input:focus,
textarea:focus {
  outline: 2px solid #52525b60;
}
input:disabled {
  opacity: 0.6;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 1px 0 #3f3f46;
}
.primary:hover {
  background: #52525b;
  border-color: #52525b;
}
button.primary span {
  margin-left: 12px;
}
.desktop-header,
.desktop-footer {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.desktop-header {
  margin-bottom: 24px;
}
.wordmark {
  font-size: 27px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: -1.5px;
  text-decoration: none;
}
.wordmark span {
  color: var(--blue);
}
.wordmark .dot {
  color: var(--ink);
}
.desktop-header > span {
  color: #71717a;
  font-size: 12px;
}
.desktop-header > a:last-child {
  margin-left: auto;
  font-size: 12px;
}
.desktop-footer {
  justify-content: space-between;
  font-size: 12px;
  color: #71717a;
  padding-top: 17px;
}
.window {
  max-width: 1180px;
  margin: auto;
  border: 1px solid #a1a1aa;
  background: var(--panel);
  border-radius: 9px;
  overflow: hidden;
  box-shadow:
    0 5px 0 #e4e4e7,
    0 18px 50px #3f3f4620;
}
.titlebar {
  height: 40px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(0deg, #fafafa 0, #fafafa 2px, #ffffff 2px, #ffffff 4px);
}
.titlebar h1 {
  font-size: 14px;
  font-weight: 650;
  background: var(--panel);
  padding: 0 10px;
  margin: 0;
  letter-spacing: -0.2px;
}
.window-mark {
  height: 12px;
  width: 12px;
  border: 1px solid #52525b;
  background: #ffffff;
  box-shadow: inset 1px 1px #ffffff;
}
.title-note {
  margin-left: auto;
  color: #71717a;
  font-size: 10px;
  letter-spacing: 1px;
  background: var(--panel);
  padding: 0 9px;
}
.menubar {
  padding: 0 16px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.menubar button,
.menubar a {
  border: 0;
  padding: 4px 0;
  box-shadow: none;
  background: none;
  text-decoration: none;
  font-size: 12px;
}
.menubar button:hover,
.menubar a:hover {
  color: var(--blue);
}
#connection {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
#connection i {
  height: 6px;
  width: 6px;
  display: block;
  border-radius: 50%;
  background: #e4e4e7;
}
#connection.live i {
  background: #71717a;
}
.addressbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
}
.addressbar label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.addressbar input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 9px 12px;
  border-color: #f4f4f5;
  background: #ffffff;
}
.addressbar button {
  font-size: 12px;
}
.toolbar {
  padding: 0 16px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.history {
  display: flex;
  gap: 5px;
}
.history button {
  padding: 3px 0;
  height: 28px;
  min-width: 30px;
  font-size: 16px;
}
.toolbar #breadcrumbs {
  display: flex;
  gap: 5px;
  align-items: center;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
#breadcrumbs button {
  padding: 3px 4px;
  background: transparent;
  box-shadow: none;
  border: 0;
  font-size: 12px;
}
#breadcrumbs button:last-of-type {
  color: var(--ink);
  font-weight: 600;
}
.sort {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sort select {
  padding: 4px 6px;
  font-size: 11px;
}
#view-toggle {
  padding: 3px 7px;
  font-size: 17px;
  line-height: 22px;
}
.workspace {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  min-height: 440px;
}
aside {
  border-right: 1px solid var(--line);
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}
.sidebar-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
  margin: 0 10px 10px;
}
#folders > button {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: none;
  box-shadow: none;
  padding: 10px 9px;
  margin-bottom: 3px;
  font-size: 12px;
  line-height: 1.4;
}
#folders > button[aria-current="true"] {
  background: #fafafa;
  color: #3f3f46;
}
#folders small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
#folders .folder-text {
  overflow: hidden;
  text-overflow: ellipsis;
}
#folders svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.sidebar-add {
  margin-top: 16px;
  border: 0;
  text-align: left;
  box-shadow: none;
  background: none;
  padding: 8px 9px;
  font-size: 11px;
  color: #71717a;
}
.sidebar-note {
  font-size: 10px;
  color: #71717a;
  line-height: 1.7;
  padding: 8px 9px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 32px 10px 0;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 3px 6px;
  font-size: 10px;
  color: #71717a;
}
.sidebar-bottom strong {
  font-weight: 500;
  color: #52525b;
}
.sidebar-bottom > span:last-child {
  grid-column: 2;
}
.small-drive {
  font-size: 17px;
  color: #a1a1aa;
}
.contents {
  background: var(--paper);
  min-width: 0;
  position: relative;
}
.welcome {
  padding: 30px 28px 28px;
  background: linear-gradient(110deg, #ffffff, #ffffff);
  border-bottom: 1px solid #fafafa;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #71717a;
}
.welcome h2 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 550;
  line-height: 1.2;
  margin: 10px 0;
}
.welcome p {
  color: #71717a;
  line-height: 1.7;
  font-size: 12px;
  margin-bottom: 18px;
}
.welcome button {
  font-size: 12px;
}
.welcome-foot {
  display: block;
  margin-top: 10px;
  color: #a1a1aa;
  font-size: 10px;
}
.list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 130px;
  gap: 14px;
  padding: 8px 23px;
  background: #fafafa;
  border-bottom: 1px solid #f4f4f5;
  font-size: 10px;
  color: #71717a;
}
.list-head > span:last-child {
  text-align: right;
}
.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 130px;
  gap: 14px;
  width: 100%;
  align-items: center;
  text-align: left;
  padding: 15px 23px;
  border: 0;
  border-bottom: 1px solid #fafafa;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  min-height: 63px;
}
.item:hover {
  background: #ffffff;
}
.item[aria-pressed="true"] {
  background: var(--selected);
}
.item-name {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  font-size: 13px;
}
.item-name svg {
  width: 29px;
  height: 29px;
  flex: none;
}
.item-name > span {
  overflow-wrap: anywhere;
}
.item-name small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.item-type,
.item-meta {
  font-size: 11px;
  color: #71717a;
}
.item-meta {
  text-align: right;
}
.empty {
  padding: 35px 28px;
  line-height: 1.8;
  color: #71717a;
  font-size: 13px;
  white-space: pre-line;
}
.empty.error {
  color: #52525b;
}
.load-more {
  margin: 18px 23px;
  font-size: 12px;
}
.items.grid {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.grid .item {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 7px;
  padding: 15px 8px;
  min-height: 130px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.grid .item[aria-pressed="true"] {
  border-color: #f4f4f5;
}
.grid .item-name {
  flex-direction: column;
  font-size: 12px;
  gap: 8px;
}
.grid .item-name svg {
  width: 38px;
  height: 38px;
}
.grid .item-type,
.grid .item-meta {
  font-size: 10px;
  text-align: center;
}
.inspector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 17px 23px;
  min-height: 83px;
}
.inspector strong {
  font-size: 13px;
  font-weight: 550;
}
.inspector p {
  font-size: 11px;
  margin: 3px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.inspector #selection {
  min-width: 0;
}
.actions {
  display: flex;
  gap: 7px;
  flex: none;
}
.actions button {
  font-size: 11px;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 7px 14px;
  font-size: 10px;
  color: #71717a;
  min-height: 31px;
}
.statusbar .error {
  color: #52525b;
}
.statusbar > span:last-child {
  white-space: nowrap;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.error {
  color: #52525b;
}
.workspace[aria-busy="true"] .contents {
  cursor: progress;
}
.workspace[aria-busy="true"] .item {
  opacity: 0.6;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #a1a1aa;
  border-radius: 8px;
  width: 520px;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 48px);
  padding: 24px;
  box-shadow: 0 14px 60px #3f3f4640;
}
dialog::backdrop {
  background: #3f3f4650;
  backdrop-filter: blur(2px);
}
.dialog-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.dialog-title h2 {
  margin: 0;
  font-weight: 550;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.dialog-title button {
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 22px;
  line-height: 24px;
  padding: 0 6px;
}
dialog h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 22px 0 8px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
dialog label {
  font-size: 12px;
  display: block;
  margin-top: 15px;
}
dialog label input,
dialog label select,
dialog label textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
}
dialog label small {
  font-size: 10px;
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}
.dialog-actions a {
  margin-right: auto;
  font-size: 12px;
}
.dialog-actions button {
  font-size: 12px;
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #fafafa;
}
.manage-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.manage-row button {
  font-size: 11px;
  padding: 4px 8px;
}
.agent-dialog {
  width: 710px;
}
.agent-dialog textarea,
pre {
  font:
    11px/1.65 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.agent-dialog details {
  margin-top: 20px;
  font-size: 12px;
}
.agent-dialog pre {
  padding: 14px;
  background: #fafafa;
  max-height: 220px;
  overflow: auto;
}
textarea {
  resize: vertical;
}
[hidden] {
  display: none !important;
}
.viewer-body {
  min-height: 0;
  background: var(--paper);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100dvh;
}
.viewer-bar {
  padding: 10px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  flex-wrap: wrap;
}
.viewer-bar code {
  font-size: 10px;
  overflow-wrap: anywhere;
  flex: 1;
}
.viewer-frame {
  width: 100%;
  flex: 1;
  border: 0;
  min-height: 0;
  background: white;
}
.viewer-message {
  padding: 35px;
  max-width: 700px;
  line-height: 1.8;
}
.viewer-message h1 {
  font-size: 24px;
  font-weight: 550;
}
.viewer-bar .wordmark {
  font-size: 18px;
}
.viewer-error {
  color: #52525b;
}
.learn-body {
  padding: 24px 24px 50px;
  background: var(--paper);
}
.learn {
  max-width: 740px;
  margin: 30px auto;
}
.learn h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 550;
}
.learn h2 {
  font-size: 20px;
  margin-top: 36px;
  font-weight: 550;
}
.learn p,
.learn li {
  line-height: 1.8;
  color: #52525b;
}
.learn code {
  font-size: 12px;
  background: #fafafa;
  padding: 2px 4px;
  overflow-wrap: anywhere;
}
.learn pre {
  padding: 18px;
  border: 1px solid #f4f4f5;
  background: #fafafa;
  overflow: auto;
}
.learn pre code {
  background: none;
  padding: 0;
}
.learn-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.learn-links a {
  border: 1px solid #f4f4f5;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
}
@media (max-width: 760px) {
  body {
    padding: 16px 12px;
  }
  .desktop-header {
    gap: 12px;
    margin-bottom: 17px;
  }
  .desktop-header > span {
    display: none;
  }
  .workspace {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  aside {
    padding: 16px 8px;
  }
  .list-head,
  .item {
    grid-template-columns: minmax(0, 1fr) 95px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .item-meta,
  .list-head > span:last-child {
    display: none;
  }
  .inspector {
    flex-wrap: wrap;
    padding: 14px 16px;
  }
  .actions {
    margin-left: auto;
  }
  .title-note {
    font-size: 9px;
  }
  .menubar {
    gap: 17px;
  }
  .menubar #connection {
    font-size: 10px;
  }
  .welcome {
    padding: 24px 20px;
  }
  .welcome h2 {
    font-size: 25px;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 9px;
  }
  #breadcrumbs {
    order: 4;
    flex-basis: 100% !important;
  }
  .sort {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar-label,
  .sidebar-note,
  .sidebar-bottom {
    display: none;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px;
    display: block;
  }
  #folders {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
  }
  #folders > button {
    width: auto;
    font-size: 11px;
    padding: 8px;
  }
  #folders small {
    display: none;
  }
  #folders svg {
    width: 18px;
    height: 18px;
  }
  .sidebar-add {
    margin: 3px 0 0;
    padding: 5px 9px;
  }
  .menubar #connection {
    display: none;
  }
  .title-note {
    display: none;
  }
  .titlebar {
    height: 35px;
  }
  .addressbar {
    padding: 11px 12px;
    gap: 7px;
  }
  .addressbar label {
    display: none;
  }
  .addressbar button span {
    display: none;
  }
  .toolbar {
    padding: 0 12px 10px;
  }
  .item {
    min-height: 65px;
  }
  .item-name {
    font-size: 12px;
  }
  .item-type {
    font-size: 10px;
  }
  .statusbar {
    font-size: 9px;
    gap: 7px;
  }
  .desktop-footer {
    font-size: 10px;
    gap: 15px;
  }
  .actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .inspector {
    gap: 10px;
  }
  .welcome h2 {
    font-size: 27px;
  }
  .workspace {
    min-height: 400px;
  }
  dialog {
    padding: 19px;
  }
  .viewer-bar {
    gap: 8px;
  }
  .viewer-bar code {
    flex-basis: 100%;
    order: 3;
  }
}
@media (pointer: coarse) {
  button,
  .menubar button,
  .menubar a {
    min-height: 40px;
  }
  input,
  select {
    font-size: 16px;
  }
  .history button {
    min-height: 36px;
    min-width: 36px;
  }
  .addressbar input {
    font-size: 16px;
  }
}
.workspace {
  height: clamp(440px, calc(100dvh - 450px), 650px);
}
.contents {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.welcome,
.list-head {
  flex-shrink: 0;
}
.items {
  flex: 1;
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #f4f4f5 #ffffff;
}
.items.grid {
  align-content: start;
}
#folders {
  min-height: 0;
  overflow: auto;
}
.sidebar-add,
.sidebar-note,
.sidebar-bottom {
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .workspace {
    height: auto;
  }
  .items {
    overflow: visible;
  }
  .items.grid {
    min-height: 175px;
  }
  #folders {
    overflow: visible;
  }
}
.mode-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.mode-switch select {
  padding: 4px 6px;
  font-size: 11px;
}
.source-note {
  font-size: 11px;
  line-height: 1.6;
  color: #71717a;
  background: #ffffff;
  border-bottom: 1px solid #fafafa;
  padding: 10px 22px;
  flex-shrink: 0;
}
.advanced {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.advanced summary {
  cursor: pointer;
}
.item-name .item-art {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #fafafa;
  border-radius: 3px;
}
.grid .item-name .item-art {
  width: 92px;
  height: 92px;
}
.item-art-fallback {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fafafa;
  color: #a1a1aa;
  border: 1px solid #f4f4f5;
  font-size: 22px;
}
.grid .item-art-fallback {
  width: 92px;
  height: 92px;
}
.item-icon {
  position: relative;
  display: flex;
  flex: none;
}
.launch-badge {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border: 2px solid var(--paper);
  font-size: 9px;
}
.grid .launch-badge {
  width: 18px;
  height: 18px;
  font-size: 10px;
}
.simple .item-meta,
.simple .list-head > span:last-child {
  display: none;
}
.simple .item,
.simple .list-head {
  grid-template-columns: minmax(0, 1fr) 120px;
}
.simple .grid .item {
  display: flex;
}
.simple #scope {
  display: none;
}
.simple .inspector {
  min-height: 72px;
}
.simple .item-type {
  color: #71717a;
}
.simple .grid .item {
  min-height: 142px;
}
.simple .sidebar-bottom {
  padding-top: 20px;
}
.simple #connection {
  font-size: 11px;
}
.simple .item {
  cursor: pointer;
}
.artwork .item-name small {
  max-width: 160px;
}
.welcome-foot {
  line-height: 1.7;
}
@media (max-width: 520px) {
  .mode-switch {
    margin-left: auto;
  }
  .sort {
    margin-left: 0;
  }
  .mode-switch select {
    max-width: 115px;
  }
  .simple .item,
  .simple .list-head {
    grid-template-columns: minmax(0, 1fr) 80px;
  }
  .source-note {
    padding: 10px 16px;
  }
  .grid .item-name .item-art,
  .grid .item-art-fallback {
    width: 80px;
    height: 80px;
  }
}
.grid .item-name {
  flex-shrink: 0;
}
.grid .item-art {
  flex-shrink: 0;
}
.grid .item-meta:empty {
  display: none;
}
.grid .item.artwork {
  min-height: 190px;
}
.items.grid {
  grid-auto-rows: max-content;
}
/* An artwork opens into a quiet image-and-details window. */
.artwork-window {
  max-width: 1100px;
}
.artwork-window .titlebar h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.artwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1fr);
  background: var(--paper);
}
.artwork-preview {
  padding: 28px;
  align-self: start;
  position: sticky;
  top: 0;
}
.artwork-image-button {
  width: 100%;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #fafafa;
  border-radius: 3px;
  padding: 14px;
  background: #ffffff;
  box-shadow: none;
  cursor: zoom-in;
}
.artwork-image-button:hover {
  background: #ffffff;
  border-color: #e4e4e7;
}
.artwork-image-button img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  min-height: 0;
}
.artwork-preview > p {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
}
.artwork-info {
  border-left: 1px solid #fafafa;
  padding: 34px 30px;
  min-width: 0;
}
.artwork-info h2 {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.artwork-artist {
  color: #71717a;
  font-size: 14px;
  margin: 0 0 24px;
}
.artwork-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 12px;
}
.button-link:hover {
  background: #52525b;
}
.button-link[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.artwork-actions button {
  font-size: 12px;
}
.artwork-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 28px;
}
.artwork-info h3 {
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 12px;
}
.artwork-features {
  border-top: 1px solid #fafafa;
  padding-top: 22px;
}
.artwork-features > p {
  font-size: 12px;
  color: var(--muted);
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}
.feature-list > div {
  border: 1px solid #fafafa;
  border-radius: 4px;
  padding: 10px 12px;
  background: #ffffff;
  min-width: 0;
}
.feature-list dt {
  font-size: 10px;
  color: #71717a;
  margin-bottom: 3px;
}
.feature-list dd {
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.artwork-about {
  margin-top: 28px;
}
.artwork-about > p {
  color: #71717a;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.artwork-details {
  border-top: 1px solid #fafafa;
  padding-top: 17px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}
.artwork-details summary {
  cursor: pointer;
}
.artwork-details dl > div {
  margin: 13px 0;
}
.artwork-details dt {
  font-size: 10px;
  margin-bottom: 3px;
}
.artwork-details dd {
  margin: 0;
  font-size: 11px;
  color: #52525b;
  overflow-wrap: anywhere;
}
.independent-link {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #71717a;
  font-size: 11px;
  margin-top: 20px;
}
.artwork-notice {
  padding: 12px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid #fafafa;
  border-radius: 4px;
  color: #71717a;
  font-size: 12px;
}
.artwork-notice p {
  margin: 0 0 8px;
}
.artwork-notice button {
  font-size: 11px;
  padding: 4px 8px;
}
.image-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #18181b;
  color: #fafafa;
  box-shadow: none;
  overflow: hidden;
}
.image-dialog[open] {
  display: flex;
  flex-direction: column;
}
.image-dialog::backdrop {
  background: #18181b;
}
.image-dialog:fullscreen {
  width: 100vw;
  height: 100vh;
}
.image-dialog-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  min-height: 58px;
  padding: 10px 20px;
  background: #18181b;
  border-bottom: 1px solid #3f3f46;
  font-size: 12px;
}
.image-dialog-bar > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-dialog-bar > a {
  font-size: 11px;
}
.image-dialog-bar button {
  background: #3f3f46;
  color: #fafafa;
  border-color: #52525b;
  font-size: 12px;
}
.image-dialog > img {
  display: block;
  width: 100%;
  height: 0;
  min-height: 0;
  flex: 1;
  object-fit: contain;
  padding: 16px;
}
@media (max-width: 760px) {
  .artwork-layout {
    grid-template-columns: 1fr;
  }
  .artwork-preview {
    position: static;
    padding: 20px;
  }
  .artwork-image-button {
    aspect-ratio: auto;
    min-height: 240px;
  }
  .artwork-image-button img {
    height: auto;
    max-height: 440px;
  }
  .artwork-info {
    border-left: 0;
    border-top: 1px solid #fafafa;
    padding: 25px 22px;
  }
  .artwork-info h2 {
    font-size: 27px;
  }
  .image-dialog-bar {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 10px;
  }
  .image-dialog-bar > span {
    flex-basis: calc(100% - 90px);
  }
  .image-dialog-bar > a {
    order: 3;
  }
  .artwork-window .title-note {
    display: none;
  }
}
.library-tools {
  padding: 12px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line, #fafafa);
}
.library-tools[hidden] {
  display: none;
}
.library-tools nav {
  display: flex;
  gap: 5px;
}
.library-tools nav button {
  border-radius: 15px;
  padding: 5px 13px;
}
.library-tools nav button[aria-pressed="true"] {
  background: #52525b;
  color: #ffffff;
  border-color: #52525b;
}
.library-tools form {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}
.library-tools input {
  width: 100%;
  min-width: 0;
  font: inherit;
  padding: 7px 9px;
  background: #ffffff;
  border: 1px solid #f4f4f5;
  border-radius: 4px;
}
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px;
  font-size: 12px;
}
.pager button {
  padding: 6px 12px;
}
.pager:has(button[hidden]):has(#page-label:empty) {
  padding: 0;
}
.item-art-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: #fafafa;
  font-size: 32px;
}
.library-tools form[hidden] {
  display: none;
}
@media (max-width: 600px) {
  .library-tools {
    padding: 10px;
    gap: 8px;
  }
  .library-tools nav {
    width: 100%;
    justify-content: space-between;
  }
  .library-tools nav button {
    padding: 5px 10px;
  }
  .toolbar .sort {
    max-width: 150px;
  }
  .pager {
    gap: 8px;
  }
}
.gateway-setup form {
  display: grid;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #f4f4f5;
  border-radius: 6px;
  padding: 22px;
  margin: 28px 0;
}
.gateway-setup form label {
  display: grid;
  gap: 7px;
}
.gateway-setup input {
  font: inherit;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #f4f4f5;
  border-radius: 4px;
  min-width: 0;
  width: 100%;
}
.gateway-setup small {
  color: #71717a;
  line-height: 1.6;
}
.gateway-setup form button {
  justify-self: start;
}
.gateway-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.gateway-setup textarea {
  width: 100%;
  font:
    12px ui-monospace,
    monospace;
  overflow: auto;
}
.gateway-setup #gateway-status {
  margin: 0;
}
.gateway-setup details {
  margin: 18px 0;
}
.gateway-setup [hidden] {
  display: none;
}

/* Wallets and collections share the existing local bookmark storage. */
#folders .bookmark-group {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.5px;
}
#folders .bookmark-group:first-child {
  margin-top: 0;
}
#sidebar-save-wallet {
  margin-bottom: 0;
}
#sidebar-save-wallet + .sidebar-add {
  margin-top: 0;
}
#save-wallet {
  white-space: nowrap;
}
#save-wallet:disabled {
  opacity: 0.7;
}
@media (max-width: 760px) {
  .menubar {
    height: auto;
    min-height: 38px;
    flex-wrap: wrap;
    row-gap: 3px;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
/* The clean app tab fills the window while retaining the same sandbox. */
.viewer-bar .viewer-open-fullscreen {
  font-size: 11px;
  padding: 5px 9px;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.viewer-body.viewer-fullscreen {
  overflow: hidden;
  background-image: none;
}
.viewer-fullscreen .viewer-bar {
  display: none;
}
.learn details {
  margin-top: 24px;
  border-top: 1px solid #fafafa;
  padding-top: 18px;
}
.learn details summary {
  cursor: pointer;
  color: #52525b;
}
.learn h3 {
  font-size: 15px;
  margin-top: 24px;
}
.learn .guide-note {
  border-left: 3px solid #f4f4f5;
  padding: 4px 0 4px 16px;
}
.learn .guide-sections {
  gap: 8px;
}
.learn .guide-sections a {
  font-size: 11px;
  padding: 6px 9px;
}

.menubar a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.45;
}

.token-lookup {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.token-lookup input {
  width: 180px;
}
.token-lookup[hidden] {
  display: none;
}
#share-link {
  width: 100%;
  font:
    12px ui-monospace,
    monospace;
}
@media (max-width: 600px) {
  .menubar {
    height: auto;
    min-height: 38px;
    flex-wrap: wrap;
    gap: 8px 15px;
    padding: 8px 12px;
  }
  .token-lookup {
    padding: 10px;
  }
  .token-lookup label {
    width: 100%;
  }
  .token-lookup input {
    flex: 1;
    min-width: 100px;
    width: 120px;
  }
}

.artwork-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12px;
}
.artwork-share button {
  padding: 5px 10px;
}
#art-share input {
  width: 100%;
  font:
    12px ui-monospace,
    monospace;
}
#art-share[hidden] {
  display: none;
}
.live-art-body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
}
.live-art-frame {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  border: 0;
  background: #ffffff;
}
.live-back {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 4px;
  background: #fffffff0;
  color: #18181b;
  font-size: 12px;
  opacity: 0.5;
}
.live-back:hover,
.live-back:focus {
  opacity: 1;
}
#live-status {
  position: relative;
  z-index: 3;
  margin: 60px 24px;
  max-width: 600px;
}
.live-art-notice {
  background: #ffffff;
  padding: 12px;
}
.vessel-window {
  max-width: 1140px;
  margin: 30px auto;
}
.vessel-window .titlebar h1 {
  flex: 1;
}
.vessel-window nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px;
  border-bottom: 1px solid var(--line, #fafafa);
}
#vessel-content {
  padding: 24px;
}
.vessel-lookup,
.vessel-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.vessel-lookup label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vessel-lookup input {
  min-width: 120px;
  max-width: 100%;
}
.vessel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.vessel-pixels {
  width: 100%;
  height: auto;
  background: #fafafa;
  border: 1px solid #f4f4f5;
  image-rendering: pixelated;
}
.vessel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.vessel-cards a {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
}
.vessel-window pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 300px;
  overflow: auto;
  font-size: 12px;
}
.vessel-window .feature-list dd {
  overflow-wrap: anywhere;
}
.vessel-window .statusbar {
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .vessel-window {
    margin: 12px;
  }
  .vessel-layout {
    grid-template-columns: 1fr;
  }
  #vessel-content {
    padding: 16px;
  }
  .vessel-cards {
    grid-template-columns: 1fr;
  }
}

.addressbar .chain-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
}
.chain-picker select {
  font-size: 13px;
  padding: 8px;
  max-width: 150px;
}
@media (max-width: 650px) {
  .addressbar {
    flex-wrap: wrap;
  }
  .addressbar > input {
    order: 1;
    flex: 1;
    min-width: 0;
  }
  .addressbar > button {
    order: 2;
  }
  .addressbar .chain-picker {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }
  .chain-picker select {
    max-width: 150px;
  }
}

.artwork-media {
  width: 100%;
  margin: 1rem 0;
}
.artwork-media video {
  width: 100%;
  max-height: 65vh;
}
.artwork-media audio {
  width: 100%;
}
.artwork-media iframe {
  width: 100%;
  height: 65vh;
  border: 0;
  background: white;
}
.artwork-media pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 65vh;
  overflow: auto;
  text-align: left;
  padding: 1rem;
  background: #ffffff;
}
.check-setting {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.check-setting input {
  width: auto;
}
.async-dialog {
  width: 96vw;
  max-width: none;
  height: 95dvh;
  max-height: 95dvh;
  padding: 16px;
  background: var(--paper, #ffffff);
  overflow: auto;
}
.async-dialog::backdrop {
  background: #18181bcc;
}
.async-dialog .image-dialog-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
}
.async-dialog p {
  font-size: 13px;
}
.async-dialog details {
  font-size: 13px;
  margin-top: 12px;
}
.async-dialog ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-left: 20px;
}
#async-stage {
  position: relative;
  width: 100%;
  height: 70dvh;
  overflow: hidden;
  background: #fafafa;
}
.async-composition {
  position: absolute;
  top: 0;
  left: 0;
  isolation: isolate;
  overflow: hidden;
  transform-origin: 0 0;
}

/* ENS primary name appended after an address (names.js). */
.f3r-name {
  color: var(--muted);
  font-weight: 400;
}

/* thebenmeadows.com look: Public Sans, no dotted background, no shadows, black/white accent. */
@font-face {
  font-family: "Public Sans";
  src: url("publicsans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root,
button,
input,
select,
textarea {
  font-family: "Public Sans", system-ui, sans-serif;
}
body {
  background-image: none;
}
* {
  box-shadow: none !important;
}
.primary,
.primary:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.wordmark span {
  color: inherit;
}
#theme-toggle {
  margin-left: 14px;
  font-size: 12px;
  padding: 4px 10px;
}
#theme-toggle::before {
  content: "Dark";
}

.desktop-header > a:has(+ #theme-toggle) {
  margin-left: auto;
}

/* Fork notice at the top of each page. */
.fork-banner {
  margin: -28px -32px 20px;
  padding: 7px 16px;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.learn-body > .fork-banner {
  margin: -24px -24px 20px;
}
@media (max-width: 760px) {
  body > .fork-banner {
    margin: -16px -12px 16px;
  }
  .learn-body > .fork-banner {
    margin: -24px -24px 16px;
  }
}
