.arx-drive-status.has-error {
  background: #fff1ee;
}

.arx-dropzone.is-disabled {
  border-style: solid;
  opacity: .82;
}

.arx-dropzone.is-dragging {
  border-color: var(--arx-ink);
  background: #fff1bf;
  box-shadow: inset 0 0 0 3px var(--arx-yellow);
}

.arx-folder,
.arx-file {
  cursor: pointer;
}

.arx-folder:focus-visible,
.arx-file:focus-visible {
  outline: 3px solid var(--arx-yellow);
  outline-offset: 2px;
}

.arx-section-empty,
.arx-details-placeholder {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #aaa69d;
  border-radius: 8px;
  color: #6e6b62;
  font-size: 9px;
  text-align: center;
}

.arx-section-empty {
  grid-column: 1 / -1;
}

.arx-details-empty {
  min-height: 340px;
}

.arx-details-placeholder {
  min-height: 230px;
  margin: 18px;
  padding: 20px;
}

.arx-details-placeholder strong {
  color: var(--arx-ink);
  font-size: 11px;
}

.arx-details-placeholder span {
  max-width: 190px;
  line-height: 1.5;
}

.arx-library-loading,
.arx-loading,
.arx-auth-empty {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
}

.arx-loading,
.arx-auth-empty {
  border: 2px solid var(--arx-ink, #1d1d1b);
  border-radius: 13px;
  background: #fbfaf6;
  box-shadow: 6px 6px 0 var(--arx-ink, #1d1d1b);
}

.arx-library-loading span,
.arx-loading span {
  width: 28px;
  height: 28px;
  border: 3px solid #d8d5cd;
  border-top-color: #1d1d1b;
  border-radius: 50%;
  animation: arx-spin .8s linear infinite;
}

.arx-auth-empty span {
  color: #6e6b62;
  font-size: 10px;
}

.arx-auth-empty .dark-action {
  margin-top: 8px;
  text-decoration: none;
}

.arx-browser.is-list-view .arx-folder-grid {
  grid-template-columns: 1fr;
}

.arx-browser.is-list-view .arx-folder {
  display: grid;
  min-height: 72px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 42px 10px 14px;
}

.arx-browser.is-list-view .arx-folder-icon {
  grid-row: 1;
  grid-column: 1;
  margin: 0;
}

.arx-browser.is-list-view .arx-folder div {
  grid-row: 1;
  grid-column: 2;
}

.arx-browser.is-list-view .arx-folder > b {
  grid-row: 1;
  grid-column: 3;
  margin: 0;
  padding: 0;
}

.arx-toast {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 32px));
  border: 2px solid #1d1d1b;
  border-radius: 7px;
  padding: 13px 16px;
  background: #fbfaf6;
  box-shadow: 4px 4px 0 #1d1d1b;
  font-size: 11px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

.arx-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.arx-toast[data-tone="success"] { background: #d9f2df; }
.arx-toast[data-tone="warning"] { background: #fff1bf; }
.arx-toast[data-tone="error"] { background: #ffd9d3; }

@keyframes arx-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .arx-toast {
    right: 16px;
    bottom: 16px;
  }
}
