:root {
  color-scheme: light;
  --navy-950: #0b1c33;
  --navy-900: #10233e;
  --navy-800: #1a3453;
  --slate-700: #4b6178;
  --slate-600: #64788d;
  --slate-500: #7f91a3;
  --slate-400: #9babb8;
  --slate-300: #c4d0d9;
  --slate-200: #d9e2e8;
  --slate-150: #e5ebef;
  --slate-100: #f0f4f6;
  --canvas: #edf3f4;
  --card: rgba(255, 255, 255, 0.96);
  --teal-800: #166c6d;
  --teal-700: #1b7d7c;
  --teal-600: #23938e;
  --teal-100: #e4f4f2;
  --teal-50: #f1f9f8;
  --red-700: #a53a42;
  --red-100: #fbe9ea;
  --amber-100: #fff6db;
  --amber-700: #86621c;
  --shadow: 0 14px 42px rgba(21, 52, 73, 0.07);
  --radius-lg: 12px;
  --radius-md: 9px;
  --focus: 0 0 0 3px rgba(35, 147, 142, 0.25);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--canvas);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--navy-900);
  background-color: var(--canvas);
  background-image:
    linear-gradient(rgba(99, 126, 142, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 126, 142, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled),
[role="button"] {
  cursor: pointer;
}

button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
video:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

.app-shell {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 26px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 12px;
  padding: 4px 6px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--navy-950);
  border-radius: 9px;
  font-size: 16px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 1px;
  color: var(--slate-600);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
}

.topbar-status.is-ready {
  color: var(--teal-900);
  background: #e9fbf7;
  border-color: #b7e6dd;
}

.topbar-status.is-mock {
  color: #7c4a03;
  background: #fff7df;
  border-color: #f4d58a;
}

.topbar-status.is-error {
  color: #8a1f11;
  background: #fff0ed;
  border-color: #f2beb6;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--teal-600);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(35, 147, 142, 0.13);
}

.topbar-status.is-mock .status-dot {
  background: #d88a00;
  box-shadow: 0 0 0 3px rgba(216, 138, 0, 0.15);
}

.topbar-status.is-error .status-dot {
  background: #d34432;
  box-shadow: 0 0 0 3px rgba(211, 68, 50, 0.15);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(288px, 0.82fr) minmax(390px, 1fr) minmax(430px, 1.2fr);
  grid-template-areas:
    "steps video audit"
    "steps transcript transcript"
    "steps storyboard storyboard";
  gap: 18px;
  align-items: stretch;
}

.panel {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.steps-panel {
  grid-area: steps;
}

.video-panel {
  grid-area: video;
}

.audit-panel {
  grid-area: audit;
}

.prompt-panel {
  grid-area: audit;
}

.transcript-panel {
  grid-area: transcript;
}

.storyboard-panel {
  grid-area: storyboard;
}

.step-block {
  padding: 20px 18px;
}

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.step-heading h1,
.step-heading h2 {
  margin: -1px 0 3px;
  font-size: 17px;
  line-height: 1.3;
}

.step-heading p,
.panel-header p {
  margin: 0;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.45;
}

.drop-zone {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin-top: 16px;
  padding: 12px;
  background: #fbfdfe;
  border: 1px dashed #8eb1bf;
  border-radius: var(--radius-md);
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  background: var(--teal-50);
  border-color: var(--teal-600);
}

.drop-zone.is-dragging {
  transform: translateY(-1px);
}

.upload-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 9px;
  font-size: 18px;
}

.drop-copy {
  min-width: 0;
  margin-left: 11px;
}

.drop-copy strong,
.drop-copy small {
  display: block;
}

.drop-copy strong {
  font-size: 13px;
}

.drop-copy small {
  margin-top: 4px;
  color: var(--slate-600);
  font-size: 11px;
}

.upload-arrow {
  margin-left: auto;
  padding: 6px;
  color: var(--navy-800);
  font-size: 20px;
  line-height: 1;
}

.file-chip {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin: 12px 0;
  padding: 6px 8px;
  color: var(--slate-700);
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 11px;
}

.file-chip.is-empty {
  padding-right: 12px;
}

.file-chip:not(.is-empty) {
  width: 100%;
  border-radius: 8px;
}

.file-type {
  color: var(--teal-700);
}

.file-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 0;
  border-radius: 7px;
  font-size: 18px;
  line-height: 1;
}

.icon-button:hover {
  color: var(--navy-950);
  background: var(--slate-150);
}

.remove-file {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-left: auto;
  font-size: 16px;
}

.primary-button,
.secondary-button,
.quiet-button {
  border-radius: 7px;
  font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
}

.primary-button {
  color: #fff;
  background: var(--teal-700);
}

.primary-button:hover:not(:disabled) {
  background: var(--teal-800);
  transform: translateY(-1px);
}

.primary-button:disabled,
.secondary-button:disabled {
  color: rgba(255, 255, 255, 0.88);
  background: #9db1b8;
  cursor: not-allowed;
}

.primary-button.is-loading > span:first-child {
  display: inline-block;
  animation: spin 1.1s linear infinite;
}

.secondary-button.is-loading > span:first-child {
  display: inline-block;
  animation: spin 1.1s linear infinite;
}

.audio-only-note {
  display: flex;
  gap: 7px;
  margin: 12px 0 0;
  padding: 9px 10px;
  color: var(--teal-800);
  background: var(--teal-50);
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.5;
}

.step-divider {
  height: 1px;
  background: var(--slate-200);
}

.locked-step {
  min-height: 220px;
}

.locked-step .step-heading {
  opacity: 0.86;
}

.step-tip {
  margin: 16px 0 12px;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.55;
}

.secondary-button {
  margin-top: 5px;
}

.panel-header {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-150);
}

.panel-header h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: 16px;
  line-height: 1.35;
}

.panel-header h2 > span {
  margin-right: 6px;
  color: var(--teal-700);
}

.panel-header p {
  margin-top: 2px;
}

.video-stage {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 55%),
    #d8dde1;
}

.video-stage video {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #182230;
}

.empty-state {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  color: var(--slate-700);
  text-align: center;
}

.compact-empty {
  min-height: 280px;
}

.empty-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 11px;
  place-items: center;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 12px;
  font-size: 25px;
}

.video-empty-icon {
  color: var(--slate-600);
  background: rgba(255, 255, 255, 0.4);
}

.empty-state strong {
  color: var(--navy-800);
  font-size: 13px;
}

.empty-state p {
  max-width: 420px;
  margin: 7px 0 0;
  color: var(--slate-600);
  font-size: 12px;
  line-height: 1.6;
}

.video-meta {
  padding: 9px 14px;
  overflow: hidden;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-150);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-result {
  padding: 18px;
}

.audit-status {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1px solid #cfe9e6;
  border-radius: 9px;
}

.audit-check {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--teal-600);
  border-radius: 50%;
  font-weight: 900;
}

.audit-status strong,
.audit-status span {
  display: block;
}

.audit-status strong {
  font-size: 13px;
}

.audit-status div > span {
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 11px;
}

.audit-content {
  margin-top: 14px;
}

.audit-copy {
  margin: 0;
  color: var(--navy-800);
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.audit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.audit-item {
  padding: 10px;
  background: var(--slate-100);
  border-radius: 7px;
}

.audit-item dt {
  margin-bottom: 4px;
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.audit-item dd {
  margin: 0;
  color: var(--navy-800);
  font-size: 11px;
  line-height: 1.55;
}

.transcript-header {
  min-height: 68px;
}

.result-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.quiet-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: var(--navy-800);
  background: var(--slate-100);
  border: 1px solid transparent;
  font-size: 11px;
}

.quiet-button:hover:not(:disabled) {
  background: var(--teal-50);
  border-color: #cce3e2;
}

.quiet-button:disabled {
  color: var(--slate-400);
  cursor: not-allowed;
}

.progress-area {
  margin: 18px;
  padding: 16px;
  background: var(--teal-50);
  border: 1px solid #cfe5e4;
  border-radius: 9px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  color: var(--navy-800);
  font-size: 12px;
  font-weight: 700;
}

.progress-track {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  background: #d9e5e5;
  border-radius: 999px;
}

.progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-700), #36aaa3);
  border-radius: inherit;
  transition: width 250ms ease;
}

.progress-bar.is-indeterminate {
  width: 35% !important;
  animation: indeterminate 1.4s ease-in-out infinite;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  color: var(--slate-500);
  counter-reset: stage;
  font-size: 10px;
  list-style: none;
}

.stage-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.stage-list li::before {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--slate-500);
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: 50%;
  content: counter(stage);
  counter-increment: stage;
  font-size: 9px;
  font-weight: 800;
}

.stage-list li.is-current {
  color: var(--teal-800);
  font-weight: 800;
}

.stage-list li.is-current::before {
  color: #fff;
  background: var(--teal-700);
  border-color: var(--teal-700);
}

.stage-list li.is-done {
  color: var(--slate-700);
}

.stage-list li.is-done::before {
  color: var(--teal-700);
  background: var(--teal-100);
  border-color: #bddfdd;
  content: "✓";
}

.error-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 18px;
  padding: 12px;
  color: var(--red-700);
  background: var(--red-100);
  border: 1px solid #f0cfd2;
  border-radius: 8px;
}

.error-alert > span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--red-700);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.error-alert div {
  min-width: 0;
  flex: 1;
}

.error-alert strong {
  font-size: 12px;
}

.error-alert p {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.error-alert .icon-button {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  color: var(--red-700);
  background: transparent;
}

.transcript-empty {
  min-height: 220px;
  margin: 14px 18px 18px;
  border: 1px dashed #a9c1cc;
  border-radius: 9px;
}

.transcript-result {
  padding: 18px;
}

.mock-notice {
  margin: 0 0 14px;
  padding: 11px 12px;
  color: #7c4a03;
  background: #fff7df;
  border: 1px solid #f4d58a;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.prompt-result,
.storyboard-result {
  padding: 18px;
}

.prompt-output {
  padding: 15px;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
}

.prompt-output + .prompt-output {
  margin-top: 12px;
}

.prompt-output p {
  max-height: 210px;
  margin: 12px 0 0;
  padding-right: 8px;
  color: var(--navy-800);
  font-size: 12px;
  line-height: 1.75;
  overflow-y: auto;
  scrollbar-gutter: stable;
  white-space: pre-wrap;
}

.storyboard-image {
  display: block;
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  object-fit: contain;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 9px;
}

.frame-info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.frame-info-item {
  min-width: 0;
  padding: 10px;
  background: var(--slate-100);
  border-radius: 7px;
}

.frame-info-item strong,
.frame-info-item span {
  display: block;
}

.frame-info-item strong {
  color: var(--navy-950);
  font-size: 11px;
}

.frame-info-item span {
  margin-top: 4px;
  color: var(--slate-700);
  font-size: 11px;
  line-height: 1.45;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.summary-item {
  min-width: 0;
  padding: 11px;
  background: var(--slate-100);
  border-radius: 8px;
}

.summary-item span,
.summary-item strong {
  display: block;
}

.summary-item span {
  color: var(--slate-600);
  font-size: 10px;
}

.summary-item strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--navy-950);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.full-transcript,
.timeline-section {
  padding: 15px;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
}

.timeline-section {
  margin-top: 12px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-title-row h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 13px;
}

.verified-badge,
.count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.full-transcript > p {
  margin: 12px 0 0;
  color: var(--navy-800);
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 116px 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  background: #fbfcfd;
  border: 1px solid var(--slate-150);
  border-left: 3px solid var(--teal-600);
  border-radius: 7px;
}

.timeline-item.person-b {
  border-left-color: var(--navy-800);
}

.time-range {
  color: var(--slate-600);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.speaker-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  color: var(--teal-800);
  font-size: 11px;
  font-weight: 800;
}

.speaker-badge::before {
  width: 7px;
  height: 7px;
  background: var(--teal-600);
  border-radius: 50%;
  content: "";
}

.person-b .speaker-badge {
  color: var(--navy-800);
}

.person-b .speaker-badge::before {
  background: var(--navy-800);
}

.segment-body {
  min-width: 0;
}

.segment-text {
  margin: 0;
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.confidence-note {
  display: flex;
  gap: 5px;
  margin: 6px 0 0;
  color: var(--amber-700);
  font-size: 10px;
  line-height: 1.45;
}

.confidence-note::before {
  content: "△";
}

.no-segments {
  padding: 18px;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 7px;
  text-align: center;
  font-size: 12px;
}

.footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 15px 0 2px;
  color: var(--slate-600);
  font-size: 10px;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 11px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(11, 28, 51, 0.24);
  font-size: 12px;
}

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

@keyframes indeterminate {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(335%);
  }
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: minmax(270px, 0.78fr) minmax(360px, 1.1fr);
    grid-template-areas:
      "steps video"
      "steps audit"
      "transcript transcript"
      "storyboard storyboard";
  }

  .audit-panel {
    min-height: 300px;
  }

  .prompt-panel {
    min-height: 300px;
  }
}

@media (max-width: 780px) {
  .app-shell {
    width: min(100% - 20px, 640px);
    padding-top: 10px;
  }

  .topbar {
    min-height: 48px;
    margin-bottom: 8px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .topbar-status {
    padding: 6px 9px;
    font-size: 10px;
  }

  .workspace {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .steps-panel {
    order: 1;
  }

  .video-panel {
    order: 2;
  }

  .transcript-panel {
    order: 3;
  }

  .audit-panel {
    order: 4;
  }

  .storyboard-panel {
    order: 5;
  }

  .locked-step {
    min-height: auto;
  }

  .video-stage,
  .compact-empty,
  .video-stage video {
    height: min(62vw, 360px);
    min-height: 220px;
  }

  .transcript-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions button {
    flex: 1;
    justify-content: center;
  }

  .result-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
  }

  .segment-body {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .app-shell {
    width: min(100% - 12px, 420px);
    padding-top: 6px;
  }

  .topbar-status {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .panel-header,
  .step-block,
  .transcript-result,
  .audit-result {
    padding-right: 14px;
    padding-left: 14px;
  }

  .stage-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-list,
  .result-summary,
  .frame-info-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
