/* ===== 剧本评测 v5 ===== */
.script-eval-v5 {
  --v5-bg: #0d0d0d;
  --v5-bg2: #141414;
  --v5-bg3: #1a1a1a;
  --v5-bg4: #222;
  --v5-bg5: #2a2a2a;
  --v5-border: #2a2a2a;
  --v5-border2: #333;
  --v5-green: #00ff88;
  --v5-green-dim: #00cc6a;
  --v5-green-deep: rgba(0, 255, 136, 0.08);
  --v5-green-soft: rgba(0, 255, 136, 0.12);
  --v5-green-border: rgba(0, 255, 136, 0.2);
  --v5-text: #e8e8e8;
  --v5-text2: #999;
  --v5-text3: #666;

  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--v5-bg);
  color: var(--v5-text);
  font-size: 15px;
  line-height: 1.55;
}

/* Top bar */
.script-eval-v5-topbar {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
  background: var(--v5-bg2);
  border-bottom: 1px solid var(--v5-border);
  flex-shrink: 0;
}

.script-eval-v5-brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--v5-green);
  letter-spacing: 1px;
}

.script-eval-v5-tabs {
  display: flex;
  gap: 0;
  margin-left: 24px;
}

.script-eval-v5-tab {
  font-size: 12px;
  padding: 6px 16px;
  color: var(--v5-text3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: 0.15s;
  user-select: none;
}

.script-eval-v5-tab:hover {
  color: var(--v5-text2);
}

.script-eval-v5-tab.is-active {
  color: var(--v5-green);
  border-bottom-color: var(--v5-green);
  font-weight: 600;
}

.script-eval-v5-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.script-eval-v5-credits {
  font-size: 12px;
  color: var(--v5-text3);
}

.script-eval-v5-btn-ghost {
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 4px;
  border: 1px solid var(--v5-border2);
  background: var(--v5-bg3);
  color: var(--v5-text2);
  cursor: pointer;
  font-weight: 600;
  transition: 0.15s;
}

.script-eval-v5-btn-ghost:hover:not(:disabled) {
  border-color: var(--v5-green-border);
  color: var(--v5-green);
}

.script-eval-v5-btn-ghost:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Page layout */
.script-eval-v5-page {
  display: flex;
  flex: 1;
  min-height: 0;
  padding-left: 48px;
}

/* Left panel */
.script-eval-v5-left {
  flex: 0 0 380px;
  background: var(--v5-bg2);
  border-right: 1px solid var(--v5-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.script-eval-v5-lp-section {
  padding: 16px 18px;
  border-bottom: 1px solid var(--v5-border);
}

.script-eval-v5-lp-section.is-fill {
  flex: 1;
}

.script-eval-v5-lp-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--v5-text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

/* Upload zone */
.script-eval-v5-upload-zone {
  position: relative;
  border: 2px dashed var(--v5-border2);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.script-eval-v5-upload-zone:hover {
  border-color: var(--v5-green-border);
  background: var(--v5-green-deep);
}

.script-eval-v5-upload-zone.is-dragging {
  border-color: var(--v5-green);
  border-style: solid;
  background: var(--v5-green-deep);
}

.script-eval-v5-upload-drop-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  background: rgba(0, 255, 136, 0.06);
  color: var(--v5-green);
  pointer-events: none;
}

.script-eval-v5-upload-drop-overlay .anticon {
  font-size: 40px;
  opacity: 0.8;
}

.script-eval-v5-upload-drop-overlay span {
  font-size: 16px;
  font-weight: 800;
}

.script-eval-v5-upload-icon {
  margin-bottom: 10px;
  font-size: 38px;
  color: var(--v5-text3);
}

.script-eval-v5-upload-zone:hover .script-eval-v5-upload-icon {
  color: var(--v5-green);
}

.script-eval-v5-upload-text {
  font-size: 14px;
  color: var(--v5-text3);
  margin-bottom: 12px;
}

.script-eval-v5-upload-btn {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 6px;
  background: var(--v5-green);
  color: #000;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: 0.15s;
}

.script-eval-v5-upload-btn:hover {
  background: var(--v5-green-dim);
}

.script-eval-v5-upload-hint {
  font-size: 11px;
  color: var(--v5-text3);
  margin-top: 10px;
}

.script-eval-v5-upload-done {
  position: relative;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 12px 14px;
  border-radius: 8px;
  background: var(--v5-green-deep);
  border: 1px solid var(--v5-green-border);
}

.script-eval-v5-upload-done.is-show {
  display: flex;
}

.script-eval-v5-upload-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--v5-text3);
  cursor: pointer;
  font-size: 10px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.script-eval-v5-upload-delete:hover {
  background: rgba(255, 77, 103, 0.5);
  color: #fff;
}

.script-eval-v5-upload-done .anticon {
  font-size: 16px;
  color: var(--v5-green);
  flex-shrink: 0;
}

.script-eval-v5-uf-name {
  font-size: 13px;
  color: var(--v5-green);
  font-weight: 600;
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-eval-v5-uf-re {
  font-size: 11px;
  color: var(--v5-text3);
  cursor: pointer;
  flex-shrink: 0;
}

.script-eval-v5-uf-re:hover {
  color: var(--v5-green);
}

/* AI Info */
.script-eval-v5-info-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.script-eval-v5-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.script-eval-v5-info-key {
  font-size: 13px;
  color: var(--v5-text3);
}

.script-eval-v5-info-val {
  font-size: 13px;
  color: var(--v5-text);
  font-weight: 500;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.script-eval-v5-info-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  background: var(--v5-green-deep);
  color: var(--v5-green);
  border: 1px solid var(--v5-green-border);
}

.script-eval-v5-info-empty {
  font-size: 12px;
  color: var(--v5-text3);
  padding: 4px 0;
}

/* History */
.script-eval-v5-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 156px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--v5-green-dim) transparent;
}

.script-eval-v5-history-list::-webkit-scrollbar {
  width: 4px;
}

.script-eval-v5-history-list::-webkit-scrollbar-track {
  background: transparent;
}

.script-eval-v5-history-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--v5-green-dim);
}

.script-eval-v5-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.12s;
  border: 1px solid transparent;
}

.script-eval-v5-history-item:hover {
  background: var(--v5-bg3);
}

.script-eval-v5-history-item.is-active {
  background: var(--v5-green-deep);
  border-color: var(--v5-green-border);
}

.script-eval-v5-hi-left {
  min-width: 0;
  flex: 1;
}

.script-eval-v5-hi-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v5-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-eval-v5-history-item.is-active .script-eval-v5-hi-name {
  color: var(--v5-green);
}

.script-eval-v5-hi-date {
  font-size: 10px;
  color: var(--v5-text3);
  margin-top: 2px;
}

.script-eval-v5-hi-right {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 8px;
}

.script-eval-v5-hi-score {
  font-size: 24px;
  font-weight: 800;
  color: var(--v5-text);
}

.script-eval-v5-hi-score.is-green {
  color: var(--v5-green);
}

.script-eval-v5-hi-grade {
  font-size: 10px;
  font-weight: 600;
  color: var(--v5-text3);
}

.script-eval-v5-history-empty {
  font-size: 12px;
  color: var(--v5-text3);
  padding: 8px 0;
  text-align: center;
}

/* Bottom buttons */
.script-eval-v5-lp-bottom {
  padding: 14px 16px;
  border-top: 1px solid var(--v5-border);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.script-eval-v5-eval-btn {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  transition: 0.15s;
  background: var(--v5-green);
  color: #000;
  letter-spacing: 0.5px;
}

.script-eval-v5-eval-btn:hover:not(:disabled) {
  background: var(--v5-green-dim);
}

.script-eval-v5-eval-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.script-eval-v5-export-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--v5-border2);
  background: var(--v5-bg3);
  color: var(--v5-text2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s;
}

.script-eval-v5-export-btn:hover:not(:disabled) {
  border-color: var(--v5-green-border);
  color: var(--v5-green);
}

.script-eval-v5-export-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Right area */
.script-eval-v5-right {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.script-eval-v5-right-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--v5-bg);
  border-bottom: 1px solid var(--v5-border);
  flex-shrink: 0;
}

.script-eval-v5-right-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--v5-text2);
}

.script-eval-v5-rt-green {
  color: var(--v5-green);
}

.script-eval-v5-right-content {
  padding: 18px 28px 40px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Input textarea */
.script-eval-v5-input-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.script-eval-v5-textarea-shell {
  border: 1px solid var(--v5-border2);
  border-radius: 8px;
  overflow: hidden;
  background: var(--v5-bg2);
}

.script-eval-v5-textarea {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  border: none;
  background: transparent;
  color: var(--v5-text);
  font-size: 13px;
  line-height: 1.7;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.script-eval-v5-textarea::placeholder {
  color: var(--v5-text3);
}

.script-eval-v5-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: #ff6b35;
  font-size: 12px;
}

.script-eval-v5-retry-btn {
  margin-left: auto;
  min-width: 56px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #ff6b35;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease;
}

.script-eval-v5-retry-btn:hover:not(:disabled) {
  background: rgba(255, 107, 53, 0.15);
}

.script-eval-v5-retry-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.script-eval-v5-loading {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 32px 20px;
  text-align: center;
}

.script-eval-v5-loading strong {
  color: var(--fg-body);
  font-size: 15px;
  font-weight: 800;
}

.script-eval-v5-loading p {
  color: var(--fg-muted);
  font-size: 12px;
}

/* Hero */
.script-eval-v5-hero {
  margin-bottom: 18px;
  animation: v5-fadeUp 0.3s ease;
}

@keyframes v5-fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.script-eval-v5-hero-top {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}

.script-eval-v5-hero-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--v5-green);
  line-height: 1;
  letter-spacing: -2px;
}

.script-eval-v5-hero-total {
  font-size: 16px;
  color: var(--v5-text3);
  font-weight: 400;
  margin-left: 2px;
  margin-bottom: 8px;
}

.script-eval-v5-hero-grade {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--v5-green-deep);
  border: 1px solid var(--v5-green-border);
}

.script-eval-v5-hero-grade span {
  font-size: 12px;
  font-weight: 600;
  color: var(--v5-green);
}

.script-eval-v5-hero-grade-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v5-green);
  animation: v5-pulse 2s ease infinite;
}

@keyframes v5-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.script-eval-v5-hero-bar {
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: var(--v5-bg4);
  overflow: hidden;
  margin-bottom: 6px;
}

.script-eval-v5-hero-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--v5-green);
  transition: width 1.4s ease;
}

.script-eval-v5-hero-beat {
  font-size: 11px;
  color: var(--v5-text3);
  margin-bottom: 12px;
}

.script-eval-v5-hero-beat b {
  color: var(--v5-green);
  font-weight: 600;
}

.script-eval-v5-hero-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--v5-text);
  margin-bottom: 4px;
}

.script-eval-v5-hero-desc {
  font-size: 13px;
  color: var(--v5-text2);
  line-height: 1.7;
  max-width: none;
}

/* Card */
.script-eval-v5-card {
  background: var(--v5-bg2);
  border-radius: 10px;
  border: 1px solid var(--v5-border);
  overflow: hidden;
  margin-bottom: 14px;
  animation: v5-fadeUp 0.3s ease 0.05s both;
}

.script-eval-v5-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--v5-border);
}

.script-eval-v5-card-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.script-eval-v5-ch-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v5-green);
}

.script-eval-v5-ch-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--v5-text2);
}

.script-eval-v5-ch-legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--v5-text3);
}

.script-eval-v5-leg {
  display: flex;
  align-items: center;
  gap: 4px;
}

.script-eval-v5-ldot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
}

.script-eval-v5-ldot.is-score {
  background: var(--v5-green);
}

.script-eval-v5-ldot.is-loss {
  background: var(--v5-bg3);
  border: 1px dashed var(--v5-border2);
}

.script-eval-v5-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Chart */
.script-eval-v5-chart-container {
  display: flex;
  flex-direction: column;
  padding: 28px 18px 0;
  min-height: 280px;
  height: 280px;
}

.script-eval-v5-chart-bars {
  flex: 1;
  display: flex;
  gap: 14px;
  padding: 16px 8px 0;
  align-items: flex-end;
  height: 100%;
}

.script-eval-v5-bcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  cursor: pointer;
  min-height: 0;
}

.script-eval-v5-bbar-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 0;
  align-items: center;
  height: 100%;
}

.script-eval-v5-bscore-label {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--v5-text);
  white-space: nowrap;
  margin-top: 8px;
}

.script-eval-v5-bmax {
  font-weight: 400;
  color: var(--v5-text3);
  font-size: 11px;
}

.script-eval-v5-bstar {
  color: var(--v5-green);
  font-size: 11px;
}

.script-eval-v5-bseg {
  width: 60%;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s, opacity 0.25s;
  min-height: 0;
  flex-shrink: 0;
}

.script-eval-v5-bseg.is-score {
  background: linear-gradient(180deg, #33ffaa, var(--v5-green) 40%, var(--v5-green-dim));
  border-radius: 5px 5px 2px 2px;
  position: relative;
  overflow: hidden;
}

.script-eval-v5-bseg.is-score::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  border-radius: 5px 0 0 0;
  pointer-events: none;
}

.script-eval-v5-bseg.is-perfect {
  border-radius: 5px;
}

.script-eval-v5-bseg.is-loss {
  background: var(--v5-bg3);
  border: 1px dashed var(--v5-border2);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.script-eval-v5-bcol:hover .script-eval-v5-bseg.is-score {
  filter: brightness(1.15);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.script-eval-v5-bcol.is-active .script-eval-v5-bseg.is-score {
  filter: brightness(1.25);
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.3);
}

.script-eval-v5-bcol.is-dimmed .script-eval-v5-bseg {
  opacity: 0.2;
}

.script-eval-v5-chart-bottom {
  flex-shrink: 0;
  padding: 8px 14px 12px;
}

.script-eval-v5-chart-dims {
  display: flex;
  gap: 12px;
}

.script-eval-v5-chart-dim {
  flex: 1;
  text-align: center;
  cursor: pointer;
  transition: 0.15s;
}

.script-eval-v5-chart-dim:hover .script-eval-v5-chart-dim-name {
  color: var(--v5-green);
}

.script-eval-v5-chart-dim.is-active .script-eval-v5-chart-dim-name {
  color: var(--v5-green);
  font-weight: 700;
}

.script-eval-v5-chart-dim.is-dimmed {
  opacity: 0.3;
}

.script-eval-v5-chart-dim-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--v5-text2);
  margin-bottom: 3px;
  transition: 0.15s;
}

.script-eval-v5-chart-dim-hint {
  font-size: 10px;
  color: var(--v5-text3);
  line-height: 1.3;
}

/* Dim overlay */
.script-eval-v5-dim-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.95) 10%, var(--v5-bg2) 18%);
  padding: 28px 16px 14px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  pointer-events: none;
}

.script-eval-v5-dim-overlay.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.script-eval-v5-dim-overlay-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--v5-bg4);
  border: none;
  color: var(--v5-text3);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.script-eval-v5-dim-overlay-close:hover {
  color: var(--v5-text);
  background: var(--v5-bg3);
}

.script-eval-v5-do-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.script-eval-v5-do-left {
  flex-shrink: 0;
  min-width: 80px;
}

.script-eval-v5-do-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--v5-text);
  margin-bottom: 2px;
}

.script-eval-v5-do-score {
  font-size: 28px;
  font-weight: 800;
  color: var(--v5-green);
  line-height: 1;
}

.script-eval-v5-do-max {
  font-size: 14px;
  color: var(--v5-text3);
  font-weight: 400;
}

.script-eval-v5-do-star {
  color: var(--v5-green);
  font-size: 14px;
}

.script-eval-v5-do-bar {
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: var(--v5-bg4);
  overflow: hidden;
  margin-top: 5px;
}

.script-eval-v5-do-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--v5-green);
}

.script-eval-v5-do-hint {
  font-size: 8px;
  color: var(--v5-text3);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.script-eval-v5-do-right {
  flex: 1;
}

.script-eval-v5-do-detail {
  font-size: 11px;
  color: var(--v5-text2);
  line-height: 1.65;
}

/* Findings */
.script-eval-v5-findings {
  margin-bottom: 16px;
  animation: v5-fadeUp 0.3s ease 0.1s both;
}

.script-eval-v5-find-group {
  margin-bottom: 12px;
}

.script-eval-v5-find-group:last-child {
  margin-bottom: 0;
}

.script-eval-v5-find-group-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.script-eval-v5-find-group-label.is-green {
  color: var(--v5-green);
}

.script-eval-v5-find-group-label.is-orange {
  color: #ff6b35;
}

.script-eval-v5-fg-count {
  font-weight: 400;
  opacity: 0.4;
  font-size: 9px;
}

.script-eval-v5-fi-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.script-eval-v5-fi-item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--v5-bg3);
  font-size: 18px;
  line-height: 1.6;
  color: var(--v5-text2);
}

.script-eval-v5-fi-marker {
  flex-shrink: 0;
  width: 2px;
  border-radius: 1px;
  margin: 1px 0;
}

.script-eval-v5-fi-item.is-highlight .script-eval-v5-fi-marker {
  background: var(--v5-green);
}

.script-eval-v5-fi-item.is-issue .script-eval-v5-fi-marker {
  background: #ff6b35;
}

/* Suggestions table */
.script-eval-v5-sug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.script-eval-v5-sug-table th {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--v5-border);
  color: var(--v5-text3);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.script-eval-v5-sug-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--v5-border);
  color: var(--v5-text2);
  line-height: 1.55;
  vertical-align: top;
}

.script-eval-v5-sug-table tr:last-child td {
  border-bottom: none;
}

.script-eval-v5-sug-table tr:hover td {
  background: var(--v5-bg3);
}

.script-eval-v5-sug-type {
  font-size: 13px;
  color: var(--v5-text3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.script-eval-v5-sug-priority {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

.script-eval-v5-sug-priority.is-high {
  background: var(--v5-green-deep);
  color: var(--v5-green);
  border: 1px solid var(--v5-green-border);
}

.script-eval-v5-sug-priority.is-mid {
  background: rgba(255, 255, 255, 0.04);
  color: var(--v5-text3);
  border: 1px solid var(--v5-border2);
}

.script-eval-v5-sug-table td:first-child {
  position: relative;
  padding-left: 14px;
}

.script-eval-v5-sug-table td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  border-radius: 1px;
}

.script-eval-v5-sug-table tr.is-high td:first-child::before {
  background: var(--v5-green);
}

.script-eval-v5-sug-table tr.is-mid td:first-child::before {
  background: var(--v5-text3);
  opacity: 0.3;
}

/* Actions */
.script-eval-v5-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.script-eval-v5-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--v5-border2);
  background: var(--v5-bg3);
  color: var(--v5-text2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
}

.script-eval-v5-action-btn:hover {
  border-color: var(--v5-green-border);
  color: var(--v5-green);
}

/* Status bar */
.script-eval-v5-statusbar {
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 8px;
  background: var(--v5-bg2);
  border-top: 1px solid var(--v5-border);
  flex-shrink: 0;
  font-size: 11px;
  color: var(--v5-text3);
  margin-top: auto;
}

.script-eval-v5-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v5-green);
}

.script-eval-v5-sb-right {
  margin-left: auto;
}

/* Scrollbar */
.script-eval-v5 ::-webkit-scrollbar {
  width: 3px;
}

.script-eval-v5 ::-webkit-scrollbar-track {
  background: transparent;
}

.script-eval-v5 ::-webkit-scrollbar-thumb {
  background: var(--v5-border2);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .script-eval-v5-page {
    padding-left: 0;
  }

  .script-eval-v5-left {
    flex: 0 0 280px;
  }

  .script-eval-v5-right-content {
    padding: 16px;
  }
}

@media (max-width: 680px) {
  .script-eval-v5-page {
    flex-direction: column;
  }

  .script-eval-v5-left {
    flex: 0 0 auto;
    max-height: 40vh;
  }

  .script-eval-v5-hero-num {
    font-size: 36px;
  }
}

/* Empty states */
.script-eval-v5-info-empty,
.script-eval-v5-history-empty {
  font-size: 11px;
  color: var(--v5-text3);
  padding: 8px 0;
  text-align: center;
}

/* ===== Script Illustration ===== */
.script-eval-v5-illustration {
  border: 1.5px dashed var(--v5-border2);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 10px;
  background: var(--v5-bg2);
}

.script-eval-v5-illustration:hover {
  border-color: var(--v5-green-border);
  background: var(--v5-green-deep);
}

.script-eval-v5-illust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.script-eval-v5-illust-page {
  width: clamp(56px, 9vw, 80px);
  height: clamp(80px, 13vw, 112px);
  border-radius: 6px;
  background: linear-gradient(180deg, #1a1d42 0%, #141230 100%);
  border: 1px solid rgba(0, 255, 136, 0.05);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.script-eval-v5-illust-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.15), transparent);
}

.script-eval-v5-illust-page.is-active {
  border-color: rgba(0, 255, 136, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.08);
  transform: scale(1.06);
}

.script-eval-v5-illust-page:hover {
  border-color: rgba(0, 255, 136, 0.15);
  transform: scale(1.04);
}

.script-eval-v5-illust-page.is-active:hover {
  transform: scale(1.08);
}

.script-eval-v5-illust-page-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.script-eval-v5-illust-line {
  height: 3px;
  border-radius: 1.5px;
  background: rgba(0, 255, 136, 0.18);
  transition: background 0.3s;
}

.script-eval-v5-illust-page.is-active .script-eval-v5-illust-line {
  background: rgba(0, 255, 136, 0.35);
}

.script-eval-v5-illust-line:nth-child(1) { opacity: 0.9; }
.script-eval-v5-illust-line:nth-child(2) { opacity: 0.7; }
.script-eval-v5-illust-line:nth-child(3) { opacity: 0.55; }
.script-eval-v5-illust-line:nth-child(4) { opacity: 0.4; }
.script-eval-v5-illust-line.is-short { opacity: 0.25; }

.script-eval-v5-illust-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--v5-green);
  font-weight: 700;
  margin-bottom: 6px;
}

.script-eval-v5-illust-label .anticon {
  font-size: 16px;
}

.script-eval-v5-illustration:hover .script-eval-v5-illust-label {
  color: #fff;
}

.script-eval-v5-illust-hint {
  font-size: 10px;
  color: var(--v5-text3);
}

/* ===== History progress bar ===== */
.script-eval-v5-hi-bar {
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 5px;
}

.script-eval-v5-hi-bar-fill {
  height: 100%;
  border-radius: 1px;
  background: var(--v5-green);
  transition: width 0.6s ease;
  max-width: 92%;
}

.script-eval-v5-history-item.is-active .script-eval-v5-hi-bar-fill {
  opacity: 1;
}

.script-eval-v5-history-item:not(.is-active) .script-eval-v5-hi-bar-fill {
  opacity: 0.5;
}

/* Right actions in topbar */
.script-eval-v5-right-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.script-eval-v5-right-topbar .script-eval-v5-action-btn {
  padding: 3px 10px;
  font-size: 11px;
}

.script-eval-v5-hero-num {
  font-size: 36px;
}

.script-eval-v5-hero-top {
  gap: 8px;
  margin-bottom: 2px;
}

.script-eval-v5-hero-beat {
  font-size: 10px;
  margin-bottom: 6px;
}

.script-eval-v5-hero-title {
  font-size: 14px;
}

.script-eval-v5-hero-desc {
  font-size: 11px;
  max-width: none;
}

/* Tighter card head */
.script-eval-v5-card-head {
  padding: 8px 12px;
}

.script-eval-v5-chart-bottom {
  padding: 6px 12px 8px;
}

/* Tighter dim overlay */
.script-eval-v5-dim-overlay {
  padding: 22px 12px 10px;
}

.script-eval-v5-do-score {
  font-size: 20px;
}

/* ===== Restored script review layout ===== */
.script-eval-v5 {
  font-size: 17px;
}

.script-eval-v5-page {
  padding-left: 48px;
}

.script-eval-v5-left {
  flex-basis: 420px;
}

.script-eval-v5-lp-section {
  padding: 20px 22px;
}

.script-eval-v5-lp-label {
  font-size: 13px;
}

.script-eval-v5-upload-zone {
  padding: 30px 22px;
}

.script-eval-v5-upload-icon {
  font-size: 46px;
}

.script-eval-v5-upload-text,
.script-eval-v5-info-key,
.script-eval-v5-info-val,
.script-eval-v5-hi-name {
  font-size: 16px;
}

.script-eval-v5-upload-btn {
  padding: 12px 30px;
  font-size: 16px;
}

.script-eval-v5-upload-hint,
.script-eval-v5-hi-date,
.script-eval-v5-info-empty,
.script-eval-v5-history-empty {
  font-size: 13px;
}

.script-eval-v5-history-item {
  padding: 13px 14px;
}

.script-eval-v5-hi-score {
  font-size: 30px;
  line-height: 1;
}

.script-eval-v5-hi-bar {
  width: calc(100% - 10px);
  height: 4px;
  margin-top: 8px;
}

.script-eval-v5-lp-bottom {
  padding: 18px 22px 22px;
}

.script-eval-v5-eval-btn {
  min-height: 68px;
  padding: 0 18px;
  font-size: 20px;
}

.script-eval-v5-export-btn {
  min-height: 62px;
  padding: 0 18px;
  font-size: 18px;
}

.script-eval-v5-right-topbar {
  height: 50px;
}

.script-eval-v5-right-title {
  font-size: 16px;
}

.script-eval-v5-right-content {
  padding: 14px 32px 40px;
}

.script-eval-v5-input-section {
  gap: 16px;
}

.script-eval-v5-illustration {
  min-height: 270px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: default;
  position: relative;
}

.script-eval-v5-illustration:hover {
  background: transparent;
}

.script-eval-v5-illustration.is-dragging .script-eval-v5-illustration-hit {
  background: var(--v5-green-deep);
  outline: 2px dashed var(--v5-green);
  transform: scale(1.02);
}

.script-eval-v5-illustration .script-eval-v5-upload-drop-overlay {
  border-radius: 10px;
}

.script-eval-v5-illustration-hit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 760px);
  padding: 26px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.script-eval-v5-illustration-hit:hover,
.script-eval-v5-illustration-hit:focus-visible {
  background: var(--v5-green-deep);
  outline: 1px solid var(--v5-green-border);
}

.script-eval-v5-illust-page {
  width: clamp(72px, 9vw, 110px);
  height: clamp(104px, 13vw, 150px);
}

.script-eval-v5-illust-label {
  font-size: 18px;
}

.script-eval-v5-illust-hint {
  font-size: 13px;
}

.script-eval-v5-textarea {
  min-height: 220px;
  font-size: 16px;
}

.script-eval-v5-hero {
  margin-top: -4px;
  margin-bottom: 14px;
}

.script-eval-v5-hero-top {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}

.script-eval-v5-hero-num {
  font-size: 75px;
  letter-spacing: 0;
}

.script-eval-v5-hero-total {
  font-size: 22px;
  margin-bottom: 0;
  padding-top: 18px;
}

.script-eval-v5-hero-grade {
  margin-bottom: 0;
  margin-top: 14px;
  padding: 5px 13px;
}

.script-eval-v5-hero-grade span {
  font-size: 15px;
}

.script-eval-v5-hero-bar {
  width: 170px;
  height: 5px;
  margin-bottom: 7px;
}

.script-eval-v5-hero-beat {
  margin-bottom: 8px;
  font-size: 13px;
}

.script-eval-v5-hero-title {
  font-size: 22px;
}

.script-eval-v5-hero-desc {
  font-size: 16px;
}

.script-eval-v5-card {
  margin-bottom: 16px;
}

.script-eval-v5-card-head {
  padding: 16px 20px;
}

.script-eval-v5-ch-title {
  font-size: 19px;
  text-transform: none;
}

.script-eval-v5-ch-legend {
  font-size: 13px;
}

.script-eval-v5-chart-container {
  height: 300px;
  min-height: 300px;
  padding: 22px 22px 0;
}

.script-eval-v5-bscore-label {
  font-size: 16px;
}

.script-eval-v5-chart-dim-name {
  font-size: 15px;
}

.script-eval-v5-chart-dim-hint {
  font-size: 12px;
}

.script-eval-v5-do-score {
  font-size: 28px;
}

.script-eval-v5-find-group-label {
  font-size: 20px;
  text-transform: none;
}

.script-eval-v5-fg-count {
  font-size: 12px;
}

.script-eval-v5-fi-list {
  gap: 9px;
}

.script-eval-v5-fi-item {
  padding: 21px 24px;
  font-size: 21px;
}

.script-eval-v5-sug-table {
  font-size: 21px;
}

.script-eval-v5-sug-table th,
.script-eval-v5-sug-table td {
  padding: 18px 24px;
}

.script-eval-v5-sug-table th {
  font-size: 17px;
  text-transform: none;
}

.script-eval-v5-sug-priority {
  min-width: 42px;
  text-align: center;
  font-size: 17px;
}

.script-eval-v5-sug-type {
  display: none;
}

.script-eval-v5-right-topbar .script-eval-v5-action-btn {
  padding: 6px 13px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .script-eval-v5-left {
    flex-basis: 320px;
  }

  .script-eval-v5-hero-num {
    font-size: 58px;
  }
}

/* ===== Script review report dashboard ===== */
.script-eval-report {
  --report-bg: #0e1112;
  --report-panel: #171b1c;
  --report-panel-2: #121516;
  --report-row: #181d1e;
  --report-border: #273033;
  --report-border-soft: rgb(255 255 255 / 7%);
  --report-green: #00f584;
  --report-green-2: #08c86d;
  --report-orange: #f4b22e;
  --report-text: #eef3f1;
  --report-muted: #8f9b97;
  --report-dim: #5f6a66;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--report-bg);
  color: var(--report-text);
  font-family: var(--font-sans);
}

.script-eval-report::before,
.script-eval-report::after {
  content: "";
  position: absolute;
  right: 8px;
  width: 10px;
  height: 10px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  pointer-events: none;
}

.script-eval-report::before {
  top: 7px;
  border-bottom: 10px solid color-mix(in srgb, var(--report-green) 65%, #0a3f2a);
}

.script-eval-report::after {
  bottom: 14px;
  border-top: 10px solid color-mix(in srgb, var(--report-green) 65%, #0a3f2a);
}

.script-eval-report button {
  font: inherit;
}

.script-eval-report__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 0 28px 70px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--report-green) 58%, #0c5f3a) transparent;
}

.script-eval-report__body::-webkit-scrollbar {
  width: 14px;
}

.script-eval-report__body::-webkit-scrollbar-track {
  background: transparent;
}

.script-eval-report__body::-webkit-scrollbar-thumb {
  min-height: 120px;
  border: 4px solid transparent;
  border-radius: 999px;
  background: color-mix(in srgb, var(--report-green) 60%, #0d5f3b);
  background-clip: content-box;
}

.script-eval-report__hero {
  display: grid;
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  padding: 0 10px 22px;
}

.script-eval-report__score-block {
  padding-top: 0;
}

.script-eval-report__score-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.script-eval-report__score {
  color: var(--report-green);
  font-size: clamp(68px, 7vw, 96px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
}

.script-eval-report__score-total {
  padding-top: 34px;
  color: var(--report-muted);
  font-size: 22px;
  font-weight: 700;
}

.script-eval-report__grade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 18px;
  border: 1px solid color-mix(in srgb, var(--report-green) 45%, transparent);
  border-radius: 5px;
  background: color-mix(in srgb, var(--report-green) 10%, transparent);
  color: var(--report-green);
  padding: 0 12px;
  font-size: 15px;
  font-weight: 900;
}

.script-eval-report__grade i,
.script-eval-report__card-head i,
.script-eval-report__status i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--report-green);
}

.script-eval-report__score-line {
  width: 112px;
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  background: rgb(255 255 255 / 10%);
}

.script-eval-report__score-line span {
  display: block;
  height: 100%;
  background: var(--report-green);
}

.script-eval-report__beat {
  margin-top: 10px;
  color: var(--report-muted);
  font-size: 13px;
  font-weight: 650;
}

.script-eval-report__beat b {
  color: var(--report-green);
  font-weight: 950;
}

.script-eval-report__summary {
  max-width: 990px;
  padding-bottom: 8px;
}

.script-eval-report__title-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.script-eval-report__summary h1 {
  margin: 0;
  color: #f5f9f8;
  font-size: clamp(26px, 2vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
}

.script-eval-report__summary p {
  margin: 7px 0 0;
  color: var(--report-muted);
  font-size: 13px;
  font-weight: 650;
}

.script-eval-report__desc {
  max-width: 920px;
  color: #c9d0cd !important;
  font-size: 15px !important;
  line-height: 1.75;
}

.script-eval-report__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

.script-eval-report__actions button {
  min-height: 32px;
  border: 1px solid var(--report-border);
  border-radius: 5px;
  background: var(--report-panel);
  color: var(--report-muted);
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.script-eval-report__actions button:hover {
  border-color: color-mix(in srgb, var(--report-green) 45%, transparent);
  background: color-mix(in srgb, var(--report-green) 9%, var(--report-panel));
  color: var(--report-green);
}

.script-eval-report__chart-card,
.script-eval-report__path-card {
  border: 1px solid var(--report-border);
  border-radius: 8px;
  background: var(--report-panel);
  overflow: hidden;
}

.script-eval-report__chart-card {
  min-height: 360px;
}

.script-eval-report__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  color: var(--report-muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.script-eval-report__card-head > span,
.script-eval-report__legend,
.script-eval-report__legend span,
.script-eval-report__status span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.script-eval-report__legend {
  gap: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.script-eval-report__legend i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.script-eval-report__legend i.is-score {
  background: var(--report-green);
}

.script-eval-report__legend i.is-loss {
  border: 1px dashed rgb(255 255 255 / 30%);
  background: transparent;
}

.script-eval-report__chart {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  min-height: 300px;
  padding: 0 14px 22px 0;
}

.script-eval-report__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6px 0 58px 18px;
  color: var(--report-dim);
  font-size: 11px;
  font-weight: 700;
}

.script-eval-report__chart-grid {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(28px, 4vw, 76px);
  padding: 0 26px;
  background:
    linear-gradient(to bottom, rgb(0 245 132 / 40%) 0 1px, transparent 1px),
    repeating-linear-gradient(to bottom, transparent 0 calc(20% - 1px), rgb(255 255 255 / 5%) calc(20% - 1px) 20%);
  background-size: 100% calc(100% - 58px), 100% calc(100% - 58px);
  background-repeat: no-repeat;
  background-position: 0 6px;
}

.script-eval-report__chart-grid::after {
  content: "100%";
  position: absolute;
  top: 1px;
  right: 2px;
  color: color-mix(in srgb, var(--report-green) 72%, var(--report-muted));
  font-size: 11px;
  font-weight: 700;
}

.script-eval-report__bar-col {
  display: grid;
  grid-template-rows: 28px minmax(0, 1fr) auto auto;
  align-items: end;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: default;
  text-align: center;
}

.script-eval-report__bar-score {
  align-self: end;
  color: var(--report-text);
  font-size: 13px;
  font-weight: 950;
}

.script-eval-report__bar-score small {
  color: var(--report-muted);
  font-size: 10px;
  font-weight: 700;
}

.script-eval-report__bar-score em {
  color: var(--report-green);
  font-style: normal;
  margin-left: 3px;
}

.script-eval-report__bar-box {
  justify-self: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(80px, 65%);
  height: 100%;
  min-height: 210px;
}

.script-eval-report__bar-loss {
  flex-shrink: 0;
  border: 1px dashed rgb(255 255 255 / 16%);
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: rgb(8 10 10 / 24%);
}

.script-eval-report__bar-fill {
  flex-shrink: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #0af68a 0%, #08d977 52%, #09b967 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%);
}

.script-eval-report__bar-col strong {
  margin-top: 12px;
  color: #f1f6f4;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.script-eval-report__bar-col > span {
  display: block;
  max-width: 150px;
  min-height: 28px;
  margin: 4px auto 0;
  overflow: hidden;
  color: var(--report-dim);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.script-eval-report__findings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 0;
}

.script-eval-report__finding-group h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.script-eval-report__finding-group h2::before {
  content: "";
  width: 8px;
  height: 8px;
  clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0% 50%, 38% 35%);
}

.script-eval-report__finding-group h2 span {
  opacity: 0.72;
}

.script-eval-report__finding-group.is-highlight h2 {
  color: var(--report-green);
}

.script-eval-report__finding-group.is-highlight h2::before,
.script-eval-report__finding-group.is-highlight p::before {
  background: var(--report-green);
}

.script-eval-report__finding-group.is-issue h2 {
  color: var(--report-orange);
}

.script-eval-report__finding-group.is-issue h2::before,
.script-eval-report__finding-group.is-issue p::before {
  background: var(--report-orange);
}

.script-eval-report__finding-group > div {
  display: grid;
  gap: 8px;
}

.script-eval-report__finding-group p {
  position: relative;
  min-height: 44px;
  margin: 0;
  border-radius: 5px;
  background: var(--report-row);
  color: #d4dbd8;
  padding: 11px 16px 11px 24px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.script-eval-report__finding-group p::before {
  content: "";
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 12px;
  width: 2px;
  border-radius: 999px;
}

.script-eval-report__path-card {
  margin-bottom: 24px;
}

.script-eval-report__path-card .script-eval-report__card-head {
  border-bottom: 1px solid var(--report-border);
}

.script-eval-report__path-table {
  width: 100%;
  border-collapse: collapse;
}

.script-eval-report__path-table th {
  height: 44px;
  color: var(--report-muted);
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.script-eval-report__path-table td {
  min-height: 52px;
  border-top: 1px solid rgb(255 255 255 / 6%);
  color: #d9e0dd;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  padding: 12px 16px;
  vertical-align: middle;
}

.script-eval-report__path-table th {
  padding: 0 16px;
}

.script-eval-report__path-table th:first-child,
.script-eval-report__path-table td:first-child {
  width: 58px;
  color: var(--report-green);
  font-size: 16px;
  font-weight: 950;
  text-align: center;
}

.script-eval-report__path-table th:nth-child(2),
.script-eval-report__path-table td:nth-child(2) {
  width: 90px;
  color: var(--report-muted);
}

.script-eval-report__path-table th:last-child,
.script-eval-report__path-table td:last-child {
  width: 118px;
  text-align: center;
}

.script-eval-report__path-table td:last-child span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 26px;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
}

.script-eval-report__path-table td:last-child span.is-high {
  border: 1px solid color-mix(in srgb, var(--report-green) 45%, transparent);
  background: color-mix(in srgb, var(--report-green) 11%, transparent);
  color: var(--report-green);
}

.script-eval-report__path-table td:last-child span.is-mid {
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 5%);
  color: var(--report-muted);
}

.script-eval-report__status {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  border-top: 1px solid rgb(255 255 255 / 5%);
  background: rgb(14 17 18 / 92%);
  color: #d8dfdc;
  padding: 0 18px 0 10px;
  font-size: 13px;
  font-weight: 850;
}

.script-eval-report__status span:first-child {
  color: var(--report-green);
}

@media (max-width: 1180px) {
  .script-eval-report__hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding-top: 12px;
  }

  .script-eval-report__chart-grid {
    gap: 22px;
    padding-inline: 18px;
  }

  .script-eval-report__findings {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .script-eval-report__body {
    padding-inline: 16px;
  }

  .script-eval-report__title-line,
  .script-eval-report__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .script-eval-report__chart {
    grid-template-columns: 40px minmax(560px, 1fr);
    overflow-x: auto;
  }

  .script-eval-report__path-table {
    min-width: 680px;
  }

  .script-eval-report__path-card {
    overflow-x: auto;
  }
}

/* Keep the report UI scoped to the right result panel. */
.script-eval-v5-right-content.is-report {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.script-eval-report--inside {
  flex: 1;
  min-height: 0;
  height: 100%;
  background: var(--report-bg);
}

.script-eval-report--inside .script-eval-report__body {
  padding: 0 28px 42px;
}

.script-eval-report--inside .script-eval-report__hero {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 30px;
  padding: 0 0 20px;
}

.script-eval-report--inside .script-eval-report__score-block {
  padding-top: 0;
}

.script-eval-report--inside .script-eval-report__score {
  font-size: clamp(76px, 7.4vw, 108px);
}

.script-eval-report--inside .script-eval-report__summary {
  padding-bottom: 6px;
}

.script-eval-report--inside .script-eval-report__chart-card {
  min-height: 350px;
}

.script-eval-report--inside .script-eval-report__chart {
  min-height: 292px;
}

.script-eval-report--inside .script-eval-report__chart-grid {
  gap: clamp(18px, 3.4vw, 58px);
  padding-inline: clamp(18px, 2.4vw, 34px);
}

.script-eval-report--inside .script-eval-report__bar-box {
  width: min(80px, 76%);
  min-height: 200px;
}

.script-eval-report--inside .script-eval-report__findings {
  padding: 16px 0;
}

.script-eval-report--inside .script-eval-report__finding-group p {
  min-height: 42px;
}

@media (max-width: 1160px) {
  .script-eval-report--inside .script-eval-report__hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 12px;
  }

  .script-eval-report--inside .script-eval-report__chart {
    grid-template-columns: 48px minmax(640px, 1fr);
    overflow-x: auto;
  }

  .script-eval-report--inside .script-eval-report__findings {
    grid-template-columns: 1fr;
  }
}

/* ===== Latest script review empty-state and history adjustments ===== */
.script-eval-v5-page {
  padding-left: 96px;
}

.script-eval-v5-left {
  min-height: 0;
  overflow: hidden;
}

.script-eval-v5-lp-section.is-fill {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.script-eval-v5-history-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  gap: 6px;
  padding-right: 8px;
}

.script-eval-v5-history-item {
  flex-shrink: 0;
  min-height: 66px;
  padding: 7px 14px;
}

.script-eval-v5-hi-left {
  padding-right: 8px;
}

.script-eval-v5-hi-name,
.script-eval-v5-hi-date {
  line-height: 1.2;
}

.script-eval-v5-hi-bar {
  margin-top: 6px;
}

.script-eval-v5-hi-score {
  font-size: 34px;
  line-height: 1;
}

.script-eval-v5-lp-bottom {
  flex-shrink: 0;
  margin-top: 0;
}

.script-eval-v5-right-content:not(.is-report) {
  min-height: 0;
}

.script-eval-v5-input-section {
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.script-eval-v5-illustration {
  width: 100%;
  min-height: clamp(320px, 56vh, 560px);
  margin: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: default;
}

.script-eval-v5-illustration:hover {
  background: transparent;
}

.script-eval-v5-illustration-hit {
  width: min(440px, 92%);
  padding: 24px 24px 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.script-eval-v5-illustration-hit:hover,
.script-eval-v5-illustration-hit:focus-visible {
  background: rgb(0 255 136 / 5%);
  box-shadow: 0 0 0 1px var(--v5-green-border), 0 18px 44px rgb(0 0 0 / 22%);
  outline: none;
  transform: translateY(-2px);
}

.script-eval-v5-upload-card-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgb(0 255 136 / 16%);
  color: var(--v5-green);
  box-shadow: 0 0 26px rgb(0 255 136 / 11%);
}

.script-eval-v5-upload-card-icon .anticon {
  font-size: 28px;
}

.script-eval-v5-upload-card-title {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.script-eval-v5-upload-card-desc {
  max-width: 560px;
  margin-top: 10px;
  color: #a4b4ad;
  font-size: 15px;
  line-height: 1.7;
}

.script-eval-v5-error {
  max-width: min(560px, 92%);
}

@media (max-width: 900px) {
  .script-eval-v5-page {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .script-eval-v5-illustration {
    min-height: 280px;
  }

  .script-eval-v5-upload-card-title {
    font-size: 20px;
  }

  .script-eval-v5-upload-card-desc {
    font-size: 14px;
  }
}

@media (max-height: 820px) and (min-width: 901px) {
  .script-eval-v5-lp-section {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .script-eval-v5-upload-zone {
    min-height: 170px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .script-eval-v5-upload-icon {
    margin-bottom: 6px;
    font-size: 34px;
  }

  .script-eval-v5-upload-text {
    margin-bottom: 8px;
  }

  .script-eval-v5-upload-btn {
    padding: 8px 28px;
  }

  .script-eval-v5-upload-hint {
    margin-top: 8px;
    line-height: 1.45;
  }

  .script-eval-v5-lp-bottom {
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .script-eval-v5-eval-btn {
    min-height: 56px;
  }

  .script-eval-v5-export-btn {
    min-height: 52px;
  }
}

/* ===== Commercial SaaS polish for script review page ===== */
.script-eval-v5 {
  --v5-radius-xs: 6px;
  --v5-radius-sm: 8px;
  --v5-radius-md: 12px;
  --v5-radius-lg: 16px;
  --v5-panel: #131616;
  --v5-panel-2: #181c1b;
  --v5-panel-3: #101312;
  --v5-line: rgb(255 255 255 / 7%);
  --v5-line-strong: rgb(0 255 136 / 22%);
  --v5-shadow-soft: 0 18px 48px rgb(0 0 0 / 24%);
  --v5-shadow-tight: 0 10px 24px rgb(0 0 0 / 18%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 2.2%), transparent 220px),
    var(--v5-bg);
  letter-spacing: 0;
}

.script-eval-v5-page {
  background: linear-gradient(90deg, rgb(0 255 136 / 3%), transparent 28%);
}

.script-eval-v5-left {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3.5%), transparent 180px),
    var(--v5-panel);
  border-right-color: var(--v5-line);
  box-shadow: inset -1px 0 0 rgb(0 255 136 / 4%), 18px 0 38px rgb(0 0 0 / 18%);
}

.script-eval-v5-lp-section {
  border-bottom-color: var(--v5-line);
}

.script-eval-v5-lp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8d88;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.script-eval-v5-lp-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(0 255 136 / 42%);
  box-shadow: 0 0 14px rgb(0 255 136 / 24%);
}

.script-eval-v5-upload-zone {
  position: relative;
  min-height: 214px;
  border: 1px dashed rgb(255 255 255 / 14%);
  border-radius: var(--v5-radius-lg);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), transparent),
    rgb(255 255 255 / 2.5%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%);
}

.script-eval-v5-upload-zone:hover,
.script-eval-v5-upload-zone:focus-visible {
  border-color: var(--v5-line-strong);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 8%), transparent),
    rgb(0 255 136 / 4%);
  outline: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 16px 36px rgb(0 0 0 / 16%);
}

.script-eval-v5-upload-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 18px;
  background: rgb(0 255 136 / 8%);
  color: color-mix(in srgb, var(--v5-green) 74%, #ffffff);
}

.script-eval-v5-upload-text {
  margin-bottom: 14px;
  color: #d7dedb;
  font-weight: 760;
}

.script-eval-v5-upload-btn,
.script-eval-v5-eval-btn,
.script-eval-v5-export-btn,
.script-eval-v5-action-btn,
.script-eval-v5-retry-btn {
  font-family: inherit;
  letter-spacing: 0;
}

.script-eval-v5-upload-btn,
.script-eval-v5-eval-btn,
.script-eval-v5-export-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.script-eval-v5-upload-btn,
.script-eval-v5-eval-btn {
  background: linear-gradient(180deg, #34ffa9 0%, var(--v5-green) 52%, #07cf73 100%);
  box-shadow: 0 12px 28px rgb(0 255 136 / 14%), inset 0 1px 0 rgb(255 255 255 / 36%);
}

.script-eval-v5-upload-btn:hover,
.script-eval-v5-eval-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #55ffb8 0%, #10f58c 56%, var(--v5-green-dim) 100%);
  transform: translateY(-1px);
}

.script-eval-v5-upload-hint {
  max-width: 300px;
  margin-inline: auto;
  color: #74837e;
  line-height: 1.6;
}

.script-eval-v5-upload-done {
  min-height: 86px;
  border-color: var(--v5-line-strong);
  border-radius: var(--v5-radius-md);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 12%), rgb(0 255 136 / 5%)),
    rgb(255 255 255 / 2%);
}

.script-eval-v5-uf-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
  text-align: left;
}

.script-eval-v5-uf-name {
  display: block;
  color: #e9fff5;
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 16em;
}

.script-eval-v5-uf-size {
  color: #7f918a;
  font-size: 11px;
  font-weight: 700;
}

.script-eval-v5-uf-re {
  padding: 5px 8px;
  border-radius: var(--v5-radius-xs);
  color: #a2b0ab;
  transition: color 160ms ease, background 160ms ease;
}

.script-eval-v5-uf-re:hover {
  background: rgb(255 255 255 / 6%);
}

.script-eval-v5-info-grid {
  gap: 8px;
}

.script-eval-v5-info-item {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: var(--v5-radius-sm);
  background: rgb(255 255 255 / 2.6%);
}

.script-eval-v5-info-key {
  color: #84928d;
  font-size: 13px;
  font-weight: 650;
}

.script-eval-v5-info-val {
  color: #e5ebe8;
  font-size: 13px;
  font-weight: 800;
}

.script-eval-v5-info-tag {
  border-radius: 999px;
  padding: 4px 10px;
}

.script-eval-v5-info-empty,
.script-eval-v5-history-empty {
  min-height: 70px;
  display: grid;
  place-items: center;
  border: 1px dashed rgb(255 255 255 / 9%);
  border-radius: var(--v5-radius-md);
  background: rgb(255 255 255 / 2%);
  color: #75827e;
  line-height: 1.5;
}

.script-eval-v5-history-list {
  gap: 8px;
}

.script-eval-v5-history-item {
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: var(--v5-radius-md);
  background: rgb(255 255 255 / 2.4%);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.script-eval-v5-history-item:hover {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 4%);
  transform: translateY(-1px);
}

.script-eval-v5-history-item.is-active {
  border-color: var(--v5-line-strong);
  background: linear-gradient(90deg, rgb(0 255 136 / 10%), rgb(0 255 136 / 3%));
  box-shadow: inset 3px 0 0 var(--v5-green);
}

.script-eval-v5-hi-name {
  color: #dce5e1;
  font-size: 14px;
  font-weight: 760;
}

.script-eval-v5-hi-date {
  color: #73817c;
  font-size: 11px;
}

.script-eval-v5-hi-score {
  font-variant-numeric: tabular-nums;
  font-size: 28px;
}

.script-eval-v5-hi-grade {
  color: #7d8985;
}

.script-eval-v5-lp-bottom {
  border-top-color: var(--v5-line);
  background: linear-gradient(180deg, rgb(19 22 22 / 72%), #111414);
  box-shadow: 0 -18px 34px rgb(0 0 0 / 18%);
}

.script-eval-v5-eval-btn {
  min-height: 58px;
  border-radius: var(--v5-radius-md);
  font-size: 17px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.script-eval-v5-eval-btn:disabled {
  opacity: 0.44;
  box-shadow: none;
}

.script-eval-v5-export-btn {
  min-height: 50px;
  border-color: rgb(255 255 255 / 9%);
  border-radius: var(--v5-radius-md);
  background: rgb(255 255 255 / 3.5%);
  color: #aab8b2;
  font-size: 14px;
  font-weight: 760;
}

.script-eval-v5-export-btn:hover:not(:disabled) {
  border-color: var(--v5-line-strong);
  background: rgb(0 255 136 / 7%);
  color: #dcfff0;
}

.script-eval-v5-right {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 2.4%), transparent 240px),
    #0d0f0f;
}

.script-eval-v5-right-topbar {
  min-height: 52px;
  border-bottom-color: var(--v5-line);
  background: rgb(13 15 15 / 88%);
  backdrop-filter: blur(18px);
}

.script-eval-v5-right-title {
  color: #87938f;
  font-size: 14px;
  font-weight: 760;
}

.script-eval-v5-rt-green {
  color: #b7ffdc;
}

.script-eval-v5-action-btn {
  min-height: 32px;
  border-color: rgb(255 255 255 / 9%);
  border-radius: var(--v5-radius-sm);
  background: rgb(255 255 255 / 3.8%);
  color: #a8b5b0;
  font-weight: 760;
}

.script-eval-v5-action-btn:hover {
  border-color: var(--v5-line-strong);
  background: rgb(0 255 136 / 7%);
  color: #dffff0;
}

.script-eval-v5-right-content {
  padding: 20px 32px 42px;
}

.script-eval-v5-illustration-hit {
  border: 1px solid rgb(255 255 255 / 7%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4.5%), transparent),
    var(--v5-panel-3);
  box-shadow: var(--v5-shadow-soft);
}

.script-eval-v5-illustration-hit:hover,
.script-eval-v5-illustration-hit:focus-visible {
  border-color: var(--v5-line-strong);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 7%), transparent),
    var(--v5-panel-3);
}

.script-eval-v5-upload-card-icon {
  border: 1px solid var(--v5-line-strong);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 18%), rgb(0 255 136 / 8%)),
    #101714;
}

.script-eval-v5-upload-card-title {
  color: #f4fbf8;
  font-size: 22px;
  font-weight: 850;
}

.script-eval-v5-upload-card-desc {
  color: #91a19b;
}

.script-eval-v5-loading {
  min-width: min(520px, 92%);
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: var(--v5-radius-lg);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), transparent),
    var(--v5-panel-3);
  box-shadow: var(--v5-shadow-soft);
}

.script-eval-v5-loading strong {
  color: #f4fbf8;
}

.script-eval-v5-loading p {
  margin: 0;
  color: #8f9f99;
}

.script-eval-v5-loading-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.script-eval-v5-loading-steps span {
  border: 1px solid rgb(0 255 136 / 18%);
  border-radius: 999px;
  background: rgb(0 255 136 / 7%);
  color: #b6ffdc;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 780;
}

.script-eval-v5-error {
  border-color: rgb(244 178 46 / 28%);
  border-radius: var(--v5-radius-md);
  background: rgb(244 178 46 / 8%);
  color: #f4c767;
  box-shadow: var(--v5-shadow-tight);
}

.script-eval-v5-error span:first-child {
  color: #ffe0a1;
  font-weight: 850;
}

.script-eval-v5-retry-btn {
  border-color: rgb(244 178 46 / 32%);
  color: #ffd47a;
}

.script-eval-report {
  --report-panel: #151918;
  --report-panel-2: #111514;
  --report-row: #181e1c;
  --report-border: rgb(255 255 255 / 8%);
  --report-muted: #93a29c;
  --report-dim: #67736f;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3.2%), transparent 230px),
    var(--report-bg);
}

.script-eval-report::before,
.script-eval-report::after {
  opacity: 0.75;
}

.script-eval-report--inside .script-eval-report__body {
  padding: 18px 32px 46px;
}

.script-eval-report--inside .script-eval-report__hero {
  align-items: center;
  padding: 4px 0 22px;
}

.script-eval-report__score-block {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: var(--v5-radius-lg);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 9%), rgb(0 255 136 / 2%)),
    #101413;
  box-shadow: var(--v5-shadow-tight);
}

.script-eval-report__score {
  text-shadow: 0 0 28px rgb(0 255 136 / 14%);
}

.script-eval-report__score-total {
  color: #7e8b86;
}

.script-eval-report__grade {
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
}

.script-eval-report__beat {
  color: #a6b4ae;
}

.script-eval-report__summary {
  padding: 6px 0;
}

.script-eval-report__summary h1 {
  color: #f6fbf9;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 900;
}

.script-eval-report__summary p {
  color: #7d8b86;
}

.script-eval-report__desc {
  max-width: 980px;
  color: #cbd5d1 !important;
  font-size: 14px !important;
}

.script-eval-report__chart-card,
.script-eval-report__path-card {
  border-color: var(--report-border);
  border-radius: var(--v5-radius-lg);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3.8%), transparent),
    var(--report-panel);
  box-shadow: var(--v5-shadow-tight);
}

.script-eval-report__card-head {
  min-height: 50px;
  padding-inline: 18px;
  border-bottom: 1px solid rgb(255 255 255 / 5%);
  color: #b5c0bc;
  text-transform: none;
}

.script-eval-report__legend {
  color: #7e8a86;
}

.script-eval-report__chart {
  padding-bottom: 12px;
}

.script-eval-report__chart-grid {
  gap: clamp(18px, 3vw, 52px);
}

.script-eval-report__bar-col {
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.script-eval-report__bar-col:hover,
.script-eval-report__bar-col:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.script-eval-report__bar-col.is-dimmed {
  opacity: 0.36;
}

.script-eval-report__bar-fill {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 10px 22px rgb(0 255 136 / 12%);
}

.script-eval-report__bar-col:hover .script-eval-report__bar-fill,
.script-eval-report__bar-col:focus-visible .script-eval-report__bar-fill {
  filter: brightness(1.08);
}

.script-eval-report__bar-col strong {
  color: #eef5f2;
}

.script-eval-report__bar-col > span {
  color: #74807c;
}

.script-eval-report__chart-note {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 0 18px 18px;
  border: 1px solid rgb(0 255 136 / 14%);
  border-radius: var(--v5-radius-md);
  background: rgb(0 255 136 / 5%);
  color: #a9bbb4;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.script-eval-report__chart-note .anticon {
  flex-shrink: 0;
  color: var(--report-green);
}

.script-eval-report__detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 18px 18px;
}

.script-eval-report__detail-card {
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: var(--v5-radius-md);
  background: linear-gradient(180deg, rgb(255 255 255 / 3.4%), transparent), var(--report-row);
  padding: 14px;
}

.script-eval-report__detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.script-eval-report__detail-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.script-eval-report__detail-head span {
  color: #dfe8e4;
  font-size: 14px;
  font-weight: 800;
}

.script-eval-report__detail-head strong {
  color: var(--report-green);
  font-size: 22px;
  line-height: 1;
}

.script-eval-report__detail-head small {
  color: #7e8a86;
  font-size: 12px;
}

.script-eval-report__detail-head em {
  flex-shrink: 0;
  border: 1px solid rgb(0 255 136 / 18%);
  border-radius: 999px;
  background: rgb(0 255 136 / 7%);
  color: #98e8bd;
  padding: 4px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.script-eval-report__detail-hint,
.script-eval-report__detail-empty {
  margin: 10px 0 0;
  color: #7f8c88;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.script-eval-report__subscore-list {
  display: grid;
  gap: 9px;
  margin-top: 13px;
}

.script-eval-report__subscore-row {
  display: grid;
  grid-template-columns: minmax(62px, 86px) minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  color: #bdcbc6;
  font-size: 12px;
  font-weight: 750;
}

.script-eval-report__subscore-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.script-eval-report__subscore-row b {
  color: #dfe8e4;
  text-align: right;
}

.script-eval-report__subscore-bar {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
}

.script-eval-report__subscore-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18de8a, #a3f7c1);
}

.script-eval-report__evidence-list {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.script-eval-report__evidence-list li {
  position: relative;
  padding-left: 13px;
  color: #aebcb7;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.script-eval-report__evidence-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--report-green);
}

.script-eval-report__findings {
  gap: 18px;
}

.script-eval-report__finding-group p {
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: var(--v5-radius-md);
  background: linear-gradient(180deg, rgb(255 255 255 / 3%), transparent), var(--report-row);
  color: #d7e0dc;
  font-size: 14px;
  font-weight: 650;
}

.script-eval-report__path-table th {
  color: #87938f;
  font-size: 12px;
}

.script-eval-report__path-table td {
  color: #d8e1dd;
  font-size: 14px;
}

.script-eval-report__path-table tr:hover td {
  background: rgb(255 255 255 / 2.8%);
}

.script-eval-v5-statusbar {
  height: 34px;
  border-top-color: var(--v5-line);
  background: rgb(18 21 21 / 94%);
  color: #7c8984;
  font-weight: 700;
}

.script-eval-v5.is-loading .script-eval-v5-status-dot {
  animation: v5-pulse 1.2s ease infinite;
}

.script-eval-v5.is-complete .script-eval-v5-status-dot,
.script-eval-v5.is-ready .script-eval-v5-status-dot {
  box-shadow: 0 0 16px rgb(0 255 136 / 34%);
}

@media (max-width: 1180px) {
  .script-eval-report--inside .script-eval-report__body {
    padding-inline: 24px;
  }

  .script-eval-report__detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .script-eval-v5-page {
    padding-left: 0;
    padding-top: 74px;
    scroll-padding-top: 74px;
  }

  .script-eval-v5-left {
    flex-basis: 320px;
  }

  .script-eval-v5-right-content {
    padding: 18px;
  }
}

@media (max-width: 680px) {
  .script-eval-report__detail-grid {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .script-eval-report__detail-card {
    padding: 12px;
  }

  .script-eval-report__subscore-row {
    grid-template-columns: minmax(58px, 78px) minmax(0, 1fr) 30px;
  }

  .script-eval-v5 {
    overflow: hidden;
  }

  .script-eval-v5-page {
    min-height: 0;
    overflow-y: auto;
  }

  .script-eval-v5-left {
    flex: 0 0 auto;
    overflow: visible;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--v5-line);
  }

  .script-eval-v5-lp-section.is-fill {
    flex: 0 0 auto;
  }

  .script-eval-v5-history-list {
    flex: 0 0 auto;
    max-height: 180px;
  }

  .script-eval-v5-lp-section {
    padding: 16px;
  }

  .script-eval-v5-upload-zone {
    min-height: 148px;
    padding: 18px 14px;
  }

  .script-eval-v5-upload-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    border-radius: 15px;
    font-size: 30px;
  }

  .script-eval-v5-upload-text {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .script-eval-v5-upload-btn {
    padding: 9px 24px;
    font-size: 14px;
  }

  .script-eval-v5-upload-hint {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.45;
  }

  .script-eval-v5-info-item {
    min-height: 36px;
  }

  .script-eval-v5-info-empty,
  .script-eval-v5-history-empty {
    min-height: 56px;
  }

  .script-eval-v5-lp-bottom {
    gap: 8px;
    padding: 12px 16px 14px;
  }

  .script-eval-v5-eval-btn {
    min-height: 48px;
    font-size: 16px;
  }

  .script-eval-v5-export-btn {
    min-height: 42px;
    font-size: 13px;
  }

  .script-eval-v5-right-topbar {
    padding-inline: 16px;
  }

  .script-eval-v5-right {
    flex: 0 0 auto;
    min-height: 560px;
    overflow: visible;
  }

  .script-eval-report--inside .script-eval-report__body {
    padding: 16px 16px 36px;
  }

  .script-eval-report__score-block {
    min-height: 150px;
    padding: 16px;
  }

  .script-eval-report--inside .script-eval-report__score {
    font-size: clamp(62px, 22vw, 82px);
  }

  .script-eval-report__score-total {
    padding-top: 24px;
    font-size: 18px;
  }

  .script-eval-report__summary h1 {
    font-size: 24px;
  }

  .script-eval-report__chart-note {
    margin-inline: 14px;
  }

  .script-eval-report__finding-group p,
  .script-eval-report__path-table td {
    font-size: 13px;
  }
}

/* Script review left panel overflow guard: keep actions available while history remains scrollable. */
.script-eval-v5-left {
  overflow: hidden;
}

.script-eval-v5-left-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(0 255 136 / 35%) transparent;
}

.script-eval-v5-left-main::-webkit-scrollbar,
.script-eval-v5-history-list::-webkit-scrollbar {
  width: 6px;
}

.script-eval-v5-left-main::-webkit-scrollbar-track,
.script-eval-v5-history-list::-webkit-scrollbar-track {
  background: transparent;
}

.script-eval-v5-left-main::-webkit-scrollbar-thumb,
.script-eval-v5-history-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgb(0 255 136 / 28%);
}

.script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
  flex: 0 0 auto;
  min-height: 210px;
}

.script-eval-v5-left-main .script-eval-v5-history-list {
  min-height: 128px;
  max-height: clamp(160px, 28vh, 300px);
  overflow-y: auto;
}

.script-eval-v5-lp-bottom {
  position: static;
  z-index: auto;
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-height: 820px) and (min-width: 901px) {
  .script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
    flex-basis: auto;
    min-height: 190px;
  }

  .script-eval-v5-left-main .script-eval-v5-history-list {
    min-height: 118px;
    max-height: clamp(142px, 23vh, 220px);
  }
}

@media (max-width: 900px) {
  .script-eval-v5-left-main {
    overscroll-behavior: contain;
  }
}

@media (max-width: 680px) {
  .script-eval-v5-left {
    overflow: visible;
  }

  .script-eval-v5-left-main {
    flex: 0 0 auto;
    overflow: visible;
  }

  .script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
    min-height: 224px;
  }

  .script-eval-v5-left-main .script-eval-v5-history-list {
    min-height: 132px;
    max-height: min(260px, 42vh);
  }

  .script-eval-v5-history-empty {
    min-height: 118px;
  }
}

/* Final commercial polish for the script scoring workspace. */
.script-eval-v5 {
  background:
    radial-gradient(circle at 12% 0%, rgb(0 255 136 / 5%), transparent 28%),
    linear-gradient(180deg, #0d1010 0%, #090b0b 100%);
}

.script-eval-v5-page {
  background:
    linear-gradient(90deg, rgb(0 255 136 / 4%), transparent 24%),
    linear-gradient(180deg, rgb(255 255 255 / 1.8%), transparent 180px);
}

.script-eval-v5-left {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), transparent 180px),
    linear-gradient(90deg, rgb(0 255 136 / 4%), transparent 32%),
    var(--v5-panel);
}

.script-eval-v5-left-main {
  scroll-padding-block: 18px;
}

.script-eval-v5-left-main .script-eval-v5-lp-section {
  flex-shrink: 0;
  padding-inline: 22px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 1.8%), transparent 80px);
}

.script-eval-v5-left-main .script-eval-v5-lp-section + .script-eval-v5-lp-section {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 2.5%);
}

.script-eval-v5-lp-label {
  color: #91a09b;
}

.script-eval-v5-upload-zone {
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.script-eval-v5-upload-zone::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 18%, rgb(0 255 136 / 11%), transparent 38%),
    linear-gradient(180deg, rgb(255 255 255 / 2%), transparent 60%);
  opacity: 0.78;
  pointer-events: none;
}

.script-eval-v5-upload-zone:focus-visible {
  outline: 2px solid rgb(0 255 136 / 42%);
  outline-offset: 3px;
}

.script-eval-v5.is-ready .script-eval-v5-upload-zone,
.script-eval-v5.is-complete .script-eval-v5-upload-zone {
  border-color: rgb(0 255 136 / 28%);
  background:
    linear-gradient(180deg, rgb(0 255 136 / 8%), rgb(255 255 255 / 2.5%)),
    rgb(255 255 255 / 2.8%);
}

.script-eval-v5-upload-done {
  width: min(100%, 320px);
  padding: 14px 14px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.script-eval-v5-info-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.script-eval-v5-info-item {
  min-height: 42px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
}

.script-eval-v5-info-empty,
.script-eval-v5-history-empty {
  color: #82918c;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3.2%), rgb(255 255 255 / 1.8%));
}

.script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
  background:
    linear-gradient(180deg, rgb(0 255 136 / 3.4%), transparent 92px),
    linear-gradient(180deg, rgb(255 255 255 / 1.8%), transparent);
}

.script-eval-v5-history-list {
  padding: 2px 8px 2px 0;
}

.script-eval-v5-history-item {
  min-height: 68px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
}

.script-eval-v5-lp-bottom {
  padding: 18px 22px 22px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 2.2%), transparent 60px),
    #111414;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3.5%);
}

.script-eval-v5-export-btn {
  border-color: rgb(255 255 255 / 7%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3.5%), rgb(255 255 255 / 1.8%)),
    #111414;
  color: #7f8d88;
}

.script-eval-v5-export-btn:not(:disabled):hover {
  border-color: rgb(0 255 136 / 22%);
  color: #c7d5d0;
  background:
    linear-gradient(180deg, rgb(0 255 136 / 8%), rgb(255 255 255 / 2%)),
    #111414;
}

.script-eval-v5-eval-btn:disabled,
.script-eval-v5-export-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.script-eval-v5-right-topbar {
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgb(18 22 21 / 92%), rgb(12 14 14 / 88%));
}

.script-eval-v5-right-content:not(.is-report) {
  background:
    radial-gradient(circle at 50% 43%, rgb(0 255 136 / 5%), transparent 32%),
    linear-gradient(180deg, transparent, rgb(0 0 0 / 12%));
}

.script-eval-v5-upload-card-title {
  color: #f0fff8;
}

.script-eval-v5-upload-card-desc {
  max-width: 540px;
  color: #96a5a0;
}

.script-eval-v5-statusbar {
  background:
    linear-gradient(180deg, rgb(17 20 20 / 84%), rgb(10 12 12 / 92%));
}

@media (max-height: 760px) and (min-width: 901px) {
  .script-eval-v5-left-main .script-eval-v5-lp-section {
    padding-block: 12px;
  }

  .script-eval-v5-upload-zone {
    min-height: 156px;
  }

  .script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
    min-height: 176px;
  }

  .script-eval-v5-left-main .script-eval-v5-history-list {
    min-height: 110px;
  }
}

@media (max-width: 680px) {
  .script-eval-v5-left-main .script-eval-v5-lp-section {
    padding-inline: 16px;
  }

  .script-eval-v5-upload-zone {
    min-height: 164px;
  }

  .script-eval-v5-lp-bottom {
    padding: 14px 16px 18px;
  }

  .script-eval-v5-right-content:not(.is-report) {
    padding-top: 22px;
  }
}

/* Ecommerce-aligned tone pass: restrained dark SaaS surfaces, no depth shadows. */
.script-eval-v5 {
  --v5-bg: #0d0d0f;
  --v5-bg2: #151719;
  --v5-bg3: #181b1d;
  --v5-bg4: #1d2022;
  --v5-bg5: #222629;
  --v5-border: rgba(255, 255, 255, 0.08);
  --v5-border2: rgba(255, 255, 255, 0.12);
  --v5-panel: #151719;
  --v5-panel-2: #181b1d;
  --v5-panel-3: #101214;
  --v5-line: rgba(255, 255, 255, 0.08);
  --v5-line-strong: rgba(0, 255, 136, 0.24);
  --v5-green-deep: rgba(0, 255, 136, 0.055);
  --v5-green-soft: rgba(0, 255, 136, 0.09);
  --v5-green-border: rgba(0, 255, 136, 0.24);
  --v5-shadow-soft: none;
  --v5-shadow-tight: none;
  background:
    radial-gradient(circle at 24% 0%, rgba(0, 255, 136, 0.038), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 160px),
    var(--v5-bg);
}

.script-eval-v5-page {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.014), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.012)),
    transparent;
}

.script-eval-v5-left,
.script-eval-v5-right {
  background: var(--v5-panel);
  box-shadow: none;
}

.script-eval-v5-left {
  border-right-color: var(--v5-line);
}

.script-eval-v5-left-main .script-eval-v5-lp-section,
.script-eval-v5-left-main .script-eval-v5-lp-section.is-fill {
  background: transparent;
  border-bottom-color: var(--v5-line);
  box-shadow: none;
}

.script-eval-v5-lp-label {
  color: #a7b3af;
  letter-spacing: 0.02em;
}

.script-eval-v5-lp-label::before {
  background: var(--v5-green);
  box-shadow: none;
  opacity: 0.72;
}

.script-eval-v5-upload-zone,
.script-eval-v5-info-empty,
.script-eval-v5-history-empty,
.script-eval-v5-info-item,
.script-eval-v5-history-item,
.script-eval-v5-loading,
.script-eval-v5-illustration-hit,
.script-eval-report__score-block,
.script-eval-report__chart-card,
.script-eval-report__path-card,
.script-eval-report__finding-group p {
  border-color: var(--v5-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), transparent 58%),
    var(--v5-panel-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.script-eval-v5-upload-zone {
  border-style: dashed;
}

.script-eval-v5-upload-zone::after {
  display: none;
}

.script-eval-v5-upload-zone:hover,
.script-eval-v5-upload-zone:focus-visible,
.script-eval-v5.is-ready .script-eval-v5-upload-zone,
.script-eval-v5.is-complete .script-eval-v5-upload-zone {
  border-color: var(--v5-green-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.075), transparent 58%),
    var(--v5-panel-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028);
}

.script-eval-v5-upload-icon,
.script-eval-v5-upload-card-icon {
  border-color: rgba(0, 255, 136, 0.18);
  border-radius: 10px;
  background: rgba(0, 255, 136, 0.09);
  box-shadow: none;
}

.script-eval-v5-upload-btn,
.script-eval-v5-eval-btn {
  background: var(--v5-green);
  color: #061014;
  box-shadow: none;
}

.script-eval-v5-upload-btn:hover,
.script-eval-v5-eval-btn:hover:not(:disabled) {
  background: var(--v5-green-dim);
  transform: none;
  box-shadow: none;
}

.script-eval-v5-upload-done,
.script-eval-v5-history-item.is-active,
.script-eval-v5-error,
.script-eval-report__chart-note,
.script-eval-report__grade {
  box-shadow: none;
}

.script-eval-v5-upload-done {
  border-color: var(--v5-green-border);
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.085), rgba(0, 255, 136, 0.035)),
    var(--v5-panel-2);
}

.script-eval-v5-history-item:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 58%),
    var(--v5-panel-2);
  transform: none;
  box-shadow: none;
}

.script-eval-v5-history-item.is-active {
  border-color: var(--v5-green-border);
  background:
    linear-gradient(90deg, rgba(0, 255, 136, 0.08), rgba(0, 255, 136, 0.025)),
    var(--v5-panel-2);
}

.script-eval-v5-lp-bottom,
.script-eval-v5-right-topbar,
.script-eval-v5-statusbar {
  background: rgba(21, 23, 25, 0.96);
  border-color: var(--v5-line);
  box-shadow: none;
  backdrop-filter: none;
}

.script-eval-v5-export-btn,
.script-eval-v5-action-btn,
.script-eval-v5-retry-btn {
  border-color: var(--v5-line);
  background: rgba(255, 255, 255, 0.035);
  color: #aeb8b1;
  box-shadow: none;
}

.script-eval-v5-export-btn:hover:not(:disabled),
.script-eval-v5-action-btn:hover,
.script-eval-v5-retry-btn:hover {
  border-color: var(--v5-green-border);
  background: rgba(0, 255, 136, 0.07);
  color: #d9fff0;
}

.script-eval-v5-right-content:not(.is-report) {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.034), transparent 44%),
    transparent;
}

.script-eval-v5-illustration-hit:hover,
.script-eval-v5-illustration-hit:focus-visible {
  background:
    linear-gradient(180deg, rgba(0, 255, 136, 0.06), transparent 58%),
    var(--v5-panel-2);
  box-shadow: none;
}

.script-eval-report {
  --report-bg: #0d0d0f;
  --report-panel: #151719;
  --report-panel-2: #101214;
  --report-row: #181b1d;
  --report-border: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 180px),
    var(--report-bg);
}

.script-eval-report::before,
.script-eval-report::after {
  opacity: 0.28;
}

.script-eval-report__bar-fill {
  box-shadow: none;
}

.script-eval-v5.is-complete .script-eval-v5-status-dot,
.script-eval-v5.is-ready .script-eval-v5-status-dot {
  box-shadow: none;
}
