/* Design system source: File Index.dc.html / index.css (Claude Design project
   ac555926-688e-4fc5-98b8-4168341fe490). Served by the Worker at /styles.css. */

body {
  margin: 0;
  background: #f6f5f2;
  color: #1a1a19;
  font-family: "IBM Plex Sans", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: oklch(0.52 0.12 248);
  text-decoration: none;
}

a:hover {
  color: oklch(0.42 0.13 248);
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  background: #f6f5f2;
  padding: 56px 32px 96px;
  box-sizing: border-box;
}

.container {
  max-width: 760px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dedbd4;
  padding-bottom: 16px;
}

.header-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.site-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-name a {
  color: inherit;
}

.site-name a:hover {
  text-decoration: none;
}

.summary {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8781;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  background: #eceae4;
  border-radius: 7px;
}

.tab {
  border: none;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 5px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  background: transparent;
  color: #8a8781;
  display: inline-block;
}

.tab:hover {
  text-decoration: none;
}

.tab.active {
  background: #fff;
  color: #1a1a19;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.file-list {
  padding-top: 22px;
}

.file-row {
  display: grid;
  grid-template-columns: 26px 1fr 76px;
  gap: 0 14px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #e6e3dc;
  color: #1a1a19;
}

.file-row:hover {
  background: #fbfaf8;
  text-decoration: none;
}

.file-ext {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  background: #eceae4;
  color: #6f6c66;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.file-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8781;
}

.empty-state {
  padding: 40px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: #a3a099;
  text-align: center;
}

.file-row-manage {
  display: grid;
  grid-template-columns: 26px 1fr 76px 60px;
  gap: 0 14px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #e6e3dc;
}

.file-row-manage:hover {
  background: #fbfaf8;
}

.file-actions {
  display: flex;
  justify-content: flex-end;
}

.delete-btn {
  border: none;
  background: none;
  padding: 2px 0;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: #b5b2ab;
}

.delete-btn.confirming {
  color: oklch(0.55 0.17 27);
}

.upload-section {
  padding-top: 22px;
}

.identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border: 1px solid #dedbd4;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 20px;
}

.identity-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.identity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.62 0.13 148);
}

.identity-email {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #4a4844;
}

.identity-provider {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: #a3a099;
}

.dropzone {
  border: 1.5px dashed #d6d2ca;
  background: #fbfaf8;
  border-radius: 10px;
  padding: 52px 24px;
  text-align: center;
  cursor: pointer;
  transition: background 140ms, border-color 140ms;
}

.dropzone.dragging {
  border-color: oklch(0.52 0.12 248);
  background: #f0f4fb;
}

.dropzone-title {
  font-size: 15px;
  color: #1a1a19;
}

.dropzone-hint {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8781;
  margin-top: 7px;
}

.file-input {
  display: none;
}

.queue {
  margin-top: 22px;
}

.queue-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 0 14px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid #e6e3dc;
}

.queue-status {
  text-align: right;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8781;
}

.queue-row.error .queue-status {
  color: oklch(0.55 0.17 27);
}

.suggest-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: oklch(0.52 0.12 248);
  text-decoration: underline;
}

.manage-section {
  margin-top: 30px;
}

.manage-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3a099;
  padding-bottom: 10px;
}

.footer-note {
  margin-top: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: #a3a099;
}

.item-header {
  border-bottom: 1px solid #dedbd4;
  padding-bottom: 16px;
  margin-bottom: 28px;
}

.back-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.item-media-wrap {
  display: flex;
  justify-content: center;
  background: #eceae4;
  border-radius: 10px;
  padding: 16px;
  box-sizing: border-box;
}

.item-media {
  max-width: 100%;
  max-height: 74vh;
  display: block;
  border-radius: 4px;
}

.item-meta {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.item-name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  word-break: break-all;
}

.item-details {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #8a8781;
}

.error-banner {
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 8px;
  background: oklch(0.96 0.03 27);
  color: oklch(0.4 0.15 27);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
}
