.page { max-width: none; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.title { font-size: 22px; font-weight: 600; color: var(--color-text-primary); }
.exportBtn {
  padding: 8px 16px; background: transparent; border: 1px solid var(--color-primary);
  border-radius: 8px; color: var(--color-primary); font-size: 13px; cursor: pointer; transition: all 0.15s;
}
.exportBtn:hover { background: var(--color-info-bg-hover); }

.filters { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.searchInput {
  padding: 8px 12px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: 8px; color: var(--color-text-primary); font-size: 13px; width: 200px; outline: none;
}
.searchInput:focus { border-color: var(--color-primary); }
.dateInput {
  padding: 8px 12px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: 8px; color: var(--color-text-primary); font-size: 13px; outline: none;
}
.dateInput:focus { border-color: var(--color-primary); }
.dateSep { color: var(--color-text-secondary); font-size: 13px; }
.teamSelect {
  padding: 8px 12px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: 8px; color: var(--color-text-primary); font-size: 13px; outline: none;
}
.searchBtn { padding: 8px 16px; background: var(--color-primary); border: none; border-radius: 8px; color: var(--color-on-primary); font-size: 13px; cursor: pointer; }
.searchBtn:hover { opacity: 0.9; }

.tableWrapper {
  background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card); overflow-x: auto;
  box-shadow: var(--shadow-card-light);
}
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { padding: 12px 16px; text-align: left; color: var(--color-text-secondary); font-weight: 500; border-bottom: 1px solid var(--color-border-card); white-space: nowrap; }
.table td { padding: 12px 16px; color: var(--color-text-primary); border-bottom: 1px solid var(--color-border-row); white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--color-border-row); }
.timeCell { white-space: nowrap; font-size: 12px; color: var(--color-text-secondary); }
.promptCell { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--color-text-secondary); }
.secondsBadge { color: var(--color-primary); font-weight: 600; }
.statusBadge { padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.completed { background: var(--color-success-bg); color: var(--color-success); }
.failed { background: var(--color-danger-bg); color: var(--color-danger); }
.statusCell { position: relative; }
.statusCell:hover .errorTooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.errorTooltip {
  position: absolute; bottom: calc(100% + 4px); right: 0; transform: translateY(4px);
  background: var(--color-bg-modal-elevated); border: 1px solid var(--color-border-card); border-radius: 6px;
  padding: 6px 10px; font-size: 12px; color: var(--color-danger); white-space: normal;
  max-width: 360px; width: max-content;
  opacity: 0; visibility: hidden; transition: all 0.15s; z-index: 10;
  pointer-events: none; box-shadow: 0 4px 12px var(--color-shadow-dropdown);
}
.queued, .processing { background: var(--color-info-bg); color: var(--color-primary); }
.empty { text-align: center; color: var(--color-text-secondary); padding: 40px; }
.skeletonCell { height: 16px; background: var(--color-border-card); border-radius: 4px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-bottom: 8px; }
.pageInfo { color: var(--color-text-secondary); font-size: 13px; }
.pageButtons { display: flex; gap: 4px; }
.pageButtons button {
  padding: 6px 12px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: 6px; color: var(--color-text-secondary); font-size: 13px; cursor: pointer;
}
.pageButtons button:hover:not(:disabled) { background: var(--color-sidebar-hover); color: var(--color-text-primary); }
.pageButtons button:disabled { opacity: 0.4; cursor: not-allowed; }
.activePage { background: var(--color-primary) !important; color: var(--color-on-primary) !important; border-color: var(--color-primary) !important; }
