/* Auto-generated by the styles.css split-and-dedupe cleanup. */

.alert {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.alert p {
  margin: 6px 0 0;
  font-size: 14px;
}

.alert-error {
  border-color: #ffcdc7;
  background: var(--danger-soft);
  color: var(--danger);
}

.result-page {
  display: grid;
  gap: var(--space-5);
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-12) 0 var(--space-8);
}

.result-copy {
  text-align: center;
}

.result-copy h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(34px, 4vw, 48px);
}

.status-tool-hero {
  grid-template-columns: minmax(280px, .72fr) minmax(480px, 1fr);
  min-height: 520px;
}

.status-copy h1 {
  max-width: 560px;
  margin-bottom: var(--space-3);
  font-size: clamp(42px, 5vw, 64px);
}

.status-copy p {
  max-width: 560px;
}

.status-panel,
.download-panel {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.result-workspace {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 18px 48px rgba(31, 45, 65, .08);
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid var(--border);
}

.result-status {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.result-status p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.result-status-label {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 780;
}

.result-download-all[hidden] {
  display: none;
}

.result-file-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.result-file-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 96px 104px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid #dbe5f4;
  border-radius: var(--radius-sm);
  background: #fff;
  animation: row-fade-in .25s ease;
}

.result-file-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #e8f1ff;
  color: var(--accent);
  font-size: 10px;
  font-weight: 820;
}

.result-file-icon.is-loading {
  background: var(--accent);
  color: #fff;
}

.result-file-meta {
  min-width: 0;
}

.result-file-meta strong,
.result-file-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-file-meta strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
}

.result-file-meta small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.result-file-state {
  justify-self: end;
  color: #53627a;
  font-size: 13px;
  font-weight: 720;
}

.status-done .result-file-state {
  color: #0d8b5f;
}

.status-failed .result-file-state {
  color: var(--danger);
}

.result-file-action {
  justify-self: end;
}

.result-file-action:empty::after {
  content: "";
  display: block;
  width: 1px;
}

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

.status-panel {
  justify-items: center;
  text-align: center;
}

.status-panel p {
  margin-bottom: 0;
}

.status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
}

.status-done .status-dot {
  background: var(--success);
  box-shadow: 0 0 0 6px var(--success-soft);
}

.status-failed .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 6px var(--danger-soft);
}

.status-pending .status-dot,
.status-running .status-dot {
  background: var(--accent);
  animation: status-pulse 1.6s ease-in-out infinite;
}

.progress-bar {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--accent-soft);
}

.progress-bar[hidden] {
  display: none;
}

.progress-bar span {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  animation: progress-slide 1.4s ease-in-out infinite;
}

.status-done .result-file-icon {
  background: var(--success-soft);
  color: var(--success);
}

.status-failed .result-file-icon,
.status-expired .result-file-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-label {
  color: var(--text);
  font-size: 15px;
}

.download-panel {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
}

.download-panel strong,
.download-panel span {
  display: block;
}

.download-panel strong {
  overflow: hidden;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-panel span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.download-file-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c9dcfb;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
}

.download-file-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
