.admin-hero {
  padding-bottom: 2.1rem;
}

.admin-card h2 {
  margin-bottom: 0.6rem;
}

.admin-row {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.admin-label {
  font-weight: 700;
  color: rgba(0, 46, 63, 0.8);
}

.admin-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 46, 63, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 46, 63, 0.88);
  font-weight: 600;
}

.admin-card input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-accent);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 46, 63, 0.16);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  color: rgba(0, 46, 63, 0.84);
  cursor: pointer;
}

.admin-btn.primary {
  background: linear-gradient(135deg, rgba(0, 139, 191, 0.95), rgba(0, 92, 126, 0.95));
  color: var(--color-white);
  border-color: rgba(0, 46, 63, 0.12);
  box-shadow: 0 14px 34px rgba(0, 46, 63, 0.16);
}

.admin-btn.danger {
  background: rgba(211, 47, 47, 0.12);
  border-color: rgba(211, 47, 47, 0.26);
  color: rgba(211, 47, 47, 0.95);
}

.admin-status {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 46, 63, 0.12);
  background: rgba(0, 46, 63, 0.03);
}

.admin-status-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 46, 63, 0.65);
}

.admin-status-value {
  margin-top: 0.25rem;
  color: rgba(0, 46, 63, 0.88);
  font-weight: 700;
}

.admin-editor {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 46, 63, 0.16);
  background: rgba(255, 255, 255, 0.9);
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(0, 46, 63, 0.92);
  resize: vertical;
}

.admin-help {
  color: rgba(0, 46, 63, 0.68);
}

.admin-table-wrap {
  width: 100%;
  overflow: auto;
  margin-top: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 46, 63, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(255, 255, 255, 0.92);
}

.admin-table th,
.admin-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid rgba(0, 46, 63, 0.10);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  background: rgba(0, 139, 191, 0.08);
  color: rgba(0, 46, 63, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-pill-btn {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.72);
}

.admin-task-table {
  min-width: 1100px;
}

.admin-task-title {
  font-weight: 800;
  color: rgba(0, 46, 63, 0.9);
}

.admin-task-details {
  margin-top: 0.35rem;
  color: rgba(0, 46, 63, 0.66);
  font-size: 0.86rem;
  line-height: 1.4;
}

.admin-task-pill {
  background: rgba(0, 46, 63, 0.06);
}

.admin-task-state-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-task-state {
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1;
}

.admin-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.theme-export-meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.theme-export-notes {
  margin-top: 0.72rem;
}

.theme-export-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(0, 1.58fr);
  gap: 0.85rem;
}

.theme-export-list {
  border-radius: 14px;
  border: 1px solid rgba(0, 46, 63, 0.12);
  background: rgba(255, 255, 255, 0.78);
  padding: 0.8rem 0.82rem;
}

.theme-export-list-scroll {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.52rem;
  max-height: 432px;
  overflow: auto;
  padding-right: 0.25rem;
}

.theme-export-file {
  width: 100%;
  display: grid;
  gap: 0.22rem;
  text-align: left;
  border-radius: 11px;
  border: 1px solid rgba(0, 46, 63, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 46, 63, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  padding: 0.56rem 0.62rem;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.theme-export-file:hover,
.theme-export-file.is-active {
  border-color: rgba(0, 139, 191, 0.44);
  background: rgba(237, 248, 254, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 22px rgba(0, 46, 63, 0.12);
  transform: translateY(-1px);
}

.theme-export-file-path {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.38;
  color: rgba(0, 46, 63, 0.9);
  word-break: break-all;
}

.theme-export-file-meta {
  font-size: 0.69rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(0, 46, 63, 0.6);
}

.theme-export-preview {
  min-width: 0;
}

@media (max-width: 980px) {
  .theme-export-grid {
    grid-template-columns: 1fr;
  }

  .theme-export-list-scroll {
    max-height: 290px;
  }
}
