/* 一键做海外版（overseas.js）：家族行末尾的空卡、卡上的进度行、对照页。 */
.ov-tail {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 132px; border: 1.5px dashed var(--hair-strong); border-radius: var(--r-lg);
  background: transparent; color: var(--text-2); font: inherit; cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.ov-tail:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.ov-tail-plus { font-size: 26px; line-height: 1; font-weight: 300; }
.ov-tail-label { font-size: 14px; font-weight: 600; }
.ov-tail-sub { font-size: 12px; color: var(--text-3); }

.ov-line { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.ov-line.is-run { color: var(--accent); }
.ov-line.is-bad { color: var(--red); }
.ov-line.is-todo { color: #b26a00; }

.ov-create .field { margin-bottom: 12px; }

.modal.ov-page { max-width: min(1280px, 96vw); width: 96vw; min-height: 70vh; text-align: left; padding-top: 0; }
.ov-head {
  position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 16px 0 12px; background: rgba(252, 252, 253, 0.97); border-bottom: 0.5px solid var(--hair);
}
.ov-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; display: flex; gap: 8px; align-items: baseline; }
.ov-title-src { color: var(--text-2); font-weight: 500; }
.ov-title-arrow { color: var(--text-3); font-weight: 400; }
.ov-where { font-size: 12.5px; color: var(--text-2); }
.ov-tools { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ov-todo { font-size: 12.5px; color: var(--text-2); margin: 0 4px; }
.ov-body { padding: 14px 0 8px; }

/* 全部确认后自动出季度 / 日常剧本（嘉怡 10/27）：顶栏下面一整行，生成中蓝、好了绿、失败红 */
.ov-scripts {
  flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 12px; border-radius: 8px; font-size: 13px; background: var(--surface-sunken); color: var(--text-2);
}
.ov-scripts.is-run { background: rgba(0, 113, 227, 0.07); color: var(--accent); }
.ov-scripts.is-ok { background: rgba(52, 168, 83, 0.09); color: #1e7d3a; }
.ov-scripts.is-bad { background: rgba(220, 53, 69, 0.08); color: var(--red); overflow-wrap: anywhere; }
.ov-scripts-steps { display: flex; gap: 14px; font-weight: 600; }
.ov-scripts-steps .is-wait { color: var(--text-3); font-weight: 500; }
.ov-scripts-steps .is-ok { color: #1e7d3a; }
.ov-scripts-sub { font-size: 12px; color: var(--text-2); }
.ov-empty { padding: 40px 0; text-align: center; color: var(--text-2); }

.ov-progress { max-width: 520px; margin: 60px auto; display: grid; gap: 12px; text-align: center; }
.ov-progress-step { font-size: 15px; font-weight: 600; }
.ov-progress-step.is-bad { color: var(--red); }
.ov-progress-sub { font-size: 12.5px; color: var(--text-2); overflow-wrap: anywhere; }
.ov-progress .btn { justify-self: center; }
.ov-bar { height: 6px; border-radius: 3px; background: var(--surface-sunken); overflow: hidden; }
.ov-bar-fill { height: 100%; background: var(--accent); transition: width 0.4s var(--ease); }

.ov-plan { margin-bottom: 14px; border: 0.5px solid var(--hair); border-radius: var(--r-md); padding: 8px 12px; }
.ov-plan > summary { cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-2); }
.ov-para { display: grid; grid-template-columns: 110px 1fr; gap: 10px; margin-top: 10px; font-size: 13px; line-height: 1.65; }
.ov-para-k { color: var(--text-3); }
.ov-para-v { white-space: pre-wrap; }
.ov-renames { display: grid; gap: 4px; }
.ov-rename { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.ov-rename-b { font-weight: 500; }
.ov-rename-why { color: var(--text-3); font-size: 12px; }
.ov-dropped { margin: 0; padding-left: 18px; }

.ov-cols-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 12px 6px;
  font-size: 12px; font-weight: 600; color: var(--text-3);
}
.ov-row { border: 0.5px solid var(--hair); border-radius: var(--r-md); padding: 10px 12px; margin-bottom: 10px; background: var(--surface); }
.ov-row.is-confirm:not(.is-ok) { border-color: rgba(255, 149, 0, 0.55); }
.ov-row.is-ok { opacity: 0.86; }
.ov-row-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ov-row-label { font-size: 13px; font-weight: 600; }
.ov-ok { font-size: 12px; color: var(--green); }
.ov-why { font-size: 12.5px; color: var(--text-2); margin-bottom: 8px; line-height: 1.6; }
.ov-why-note { color: #b26a00; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ov-text { font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ov-grid > .ov-text { color: var(--text-2); }
.ov-text-title { font-weight: 600; margin-bottom: 2px; }
.ov-acts { display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px; }
.ov-edit { display: grid; gap: 6px; }
.ov-edit-ta { width: 100%; font-size: 13px; line-height: 1.6; resize: vertical; }
@media (max-width: 760px) {
  .ov-grid, .ov-cols-head { grid-template-columns: 1fr; }
}

/* 「哪里要人定」的角标：侧栏、总览卡、项目头都用这一个 */
.ov-badge {
  display: inline-flex; align-items: center; flex: none; height: 18px; padding: 0 7px; border-radius: 9px;
  font-size: 11px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
}
.ov-badge.is-todo { background: rgba(255, 149, 0, 0.18); color: #a05e00; }
.ov-badge.is-look { background: var(--surface-sunken); color: var(--text-2); }
.ov-badge:hover { filter: brightness(0.95); text-decoration: underline; }
.nav-item.active .ov-badge.is-look { background: rgba(255, 255, 255, 0.22); color: #fff; }
.ov-guide {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 10px;
  font-size: 12px; color: var(--text-2);
}
.ov-guide .badge + span { margin-right: 10px; }

/* 关掉对照页后也看得到剧本进度（嘉怡 10/27 16:42）：项目页顶上一条、总览卡一行、文案页两个框上一行 */
.ov-pbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 10px 0 2px;
  padding: 9px 14px; border-radius: 10px; font-size: 13px; background: var(--surface-sunken); color: var(--text-2);
}
.ov-pbar.is-run { background: rgba(0, 113, 227, 0.08); color: var(--accent); }
.ov-pbar.is-ok { background: rgba(52, 168, 83, 0.10); color: #1e7d3a; }
.ov-pbar.is-bad { background: rgba(220, 53, 69, 0.08); color: var(--red); overflow-wrap: anywhere; }
.ov-pbar-sub { font-size: 12px; color: var(--text-2); }
.ov-line.is-ok { color: #1e7d3a; }
.ov-line.is-link { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ov-line .ico { vertical-align: -2px; }
.ov-gen {
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 7px 10px; border-radius: 8px;
  font-size: 12.5px; background: rgba(0, 113, 227, 0.07); color: var(--accent);
}
.ov-nav { display: inline-flex; align-items: center; gap: 3px; flex: none; font-size: 11px; margin-left: 4px; white-space: nowrap; }
.ov-nav.is-run { color: var(--accent); }
.ov-nav.is-bad { color: var(--red); }

/* 联网查到的当地资料（嘉怡 10/28）：[S3] 点开是来源网页 */
.ov-cite { color: var(--accent, #2563eb); text-decoration: none; font-size: 0.85em; margin: 0 1px; }
.ov-cite:hover { text-decoration: underline; }
.ov-rename-src { margin-left: 6px; }
.ov-research { display: grid; gap: 10px; }
.ov-research-item { border-left: 2px solid var(--hair); padding-left: 8px; }
.ov-research-item.is-miss { border-left-color: #f59e0b; }
.ov-research-q { font-weight: 600; font-size: 0.9em; }
.ov-research-a { white-space: pre-wrap; font-size: 0.88em; color: var(--text-2); margin: 2px 0; }
.ov-research-src { display: flex; flex-direction: column; gap: 1px; font-size: 0.82em; }
.ov-research-src a { color: var(--accent, #2563eb); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
