/* 上新入口：两个起点共用一条流程。提示只反映输入与暂存状态。 */
.launch-heading { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin: 3px 0 24px; }
.launch-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: 16px; font-weight: 650; letter-spacing: .09em; margin-bottom: 12px; }
.launch-eyebrow .i { width: 18px; height: 18px; }
.launch-heading h1 { font-size: clamp(28px, 2.2vw, 36px); line-height: 1.4; letter-spacing: -.035em; }
.launch-heading p { margin-top: 10px; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.launch-availability { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 8px; padding: 9px 13px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-2); background: var(--surface); font-size: 16px; }
.launch-availability i { width: 7px; height: 7px; background: var(--text-3); border-radius: 50%; }
.launch-availability.ready i { background: var(--green-dot); box-shadow: 0 0 0 4px var(--green-bg); }
.launch-path { display: flex; align-items: center; gap: 28px; min-width: 0; margin-bottom: 26px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.launch-path-start { flex: 0 0 160px; color: var(--brand); font-size: 16px; font-weight: 600; }
.launch-path ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: 1; gap: 22px; list-style: none; padding: 0; margin: 0; }
.launch-path li { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; }
.launch-path li + li::before { content: ''; position: absolute; width: 13px; height: 1px; left: -18px; top: 50%; background: var(--border-strong); }
.launch-path li > .i { width: 20px; height: 20px; color: var(--brand); }
.launch-path li span { font-size: 16px; font-weight: 600; color: var(--text); line-height: 1.6; }
.launch-path small { display: block; font-size: 16px; font-weight: 400; color: var(--text-3); white-space: normal; }
.batch-start { gap: 24px; align-items: stretch; }
.batch-start > .launch-card { position: relative; min-width: 0; gap: 17px; padding: 24px; border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.launch-card::before { content: ''; position: absolute; top: 22px; bottom: 22px; left: -1px; width: 3px; border-radius: 0 4px 4px 0; background: linear-gradient(#15b7cf, #346dce); opacity: 0; transition: opacity .18s ease; }
.batch-start > .launch-card:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.batch-start > .launch-card:focus-within, .batch-start > .launch-card:has(.intake-dragging) { border-color: color-mix(in srgb, var(--brand) 60%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 6%, transparent), 0 12px 28px -20px rgba(21, 93, 148, .35); }
.launch-card:focus-within::before, .launch-card:has(.intake-dragging)::before { opacity: 1; }
.launch-card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 16px; line-height: 1.7; }
.launch-card-kicker > span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); padding: 3px 9px; border-radius: 7px; background: var(--brand-soft); font-size: 16px; }
.launch-card-kicker .i { width: 15px; height: 15px; }
.launch-card .sc-head { align-items: flex-start; gap: 13px; }
.launch-card .sc-ic { width: 46px; height: 46px; border-radius: 14px; color: var(--brand); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 18%, var(--border)); }
.launch-card .sc-ic .i { width: 23px; height: 23px; }
.launch-card .sc-head h2 { font-size: 22px; font-weight: 650; line-height: 1.5; }
.launch-card .sc-head p { font-size: 16px; line-height: 1.75; color: var(--text-2); margin-top: 5px; }
.launch-card .sc-form { gap: 14px; }
.launch-card .sc-form textarea { font-size: 17px; line-height: 1.85; min-height: 112px; flex: 0 0 auto; padding: 14px 16px; background: var(--surface-2); resize: vertical; }
.launch-design .sc-form textarea { flex: 1 0 190px; min-height: 190px; }
.launch-card .dropzone { position: relative; min-height: 170px; flex: 0 0 auto; padding: 17px; gap: 7px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--brand-soft) 70%, transparent), transparent 80%), var(--surface-2); border-radius: 13px; }
.launch-card .dropzone b { font-size: 16px; font-weight: 600; }
.launch-card .dropzone .small { font-size: 16px; line-height: 1.75; }
.launch-card .dropzone .btn { margin-top: 4px; }
.launch-drop-icon { display: grid; place-items: center; position: relative; width: 35px; height: 35px; margin-bottom: 2px; color: var(--brand); }
.launch-drop-icon > .i { width: 29px; height: 29px; }
.launch-drop-icon > i { position: absolute; right: -4px; bottom: 0; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 5px; color: var(--surface); background: var(--brand); border: 2px solid var(--surface-2); }
.launch-drop-icon > i > .i { width: 11px; height: 11px; stroke-width: 2.5; }
.launch-card .dropzone.intake-over, .launch-card .sc-form.intake-dragging .dropzone { background: var(--brand-soft); border-color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 15%, transparent); }
.launch-card .sc-form.intake-dragging { outline-offset: 7px; border-radius: 12px; }
.launch-prompt-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; font-size: 16px; color: var(--text-3); }
.launch-prompt-head > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-weight: 600; font-size: 16px; }
.launch-prompt-head .i { width: 17px; height: 17px; }
.launch-examples { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; color: var(--text-3); margin-top: -3px; }
.launch-examples button { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font: inherit; font-size: 16px; line-height: 1.6; color: var(--text-2); cursor: pointer; }
.launch-examples button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.launch-examples button:disabled { opacity: .5; cursor: not-allowed; }
.launch-guidance { display: flex; align-items: flex-start; gap: 11px; padding: 14px; background: var(--surface-2); border: 1px solid transparent; border-radius: 8px; transition: background .18s ease, border-color .18s ease; }
.launch-guidance > div { min-width: 0; }
.launch-guidance-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 10px; background: var(--surface); color: var(--brand); border: 1px solid var(--border); }
.launch-guidance-icon .i { width: 18px; height: 18px; }
.launch-guidance strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.65; color: var(--text); }
.launch-guidance p { font-size: 16px; line-height: 1.8; color: var(--text-3); margin-top: 3px; }
.launch-input-facts { display: flex; align-items: center; gap: 7px 14px; flex-wrap: wrap; margin-top: 8px; color: var(--text-3); font-size: 16px; }
.launch-input-facts > span { display: inline-flex; align-items: center; gap: 7px; }
.launch-input-facts > span + span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.launch-card[data-has-input="true"] .launch-guidance { border-color: color-mix(in srgb, var(--brand) 25%, var(--border)); background: color-mix(in srgb, var(--brand-soft) 55%, var(--surface)); }
.launch-card[data-has-input="true"] .launch-guidance-icon { border-color: color-mix(in srgb, var(--brand) 25%, var(--border)); }
.launch-card .sc-foot { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border); row-gap: 14px; }
.launch-card .sc-foot .chip-btn { min-height: 40px; height: auto; padding: 5px 8px; font-size: 16px; gap: 5px; }
.launch-card .sc-foot .dd-btn { font-size: 16px; }
.launch-card .sc-foot .link-btn { font-size: 16px; padding-left: 0; }
.launch-card .sc-foot > .btn { min-height: 42px; font-size: 16px; margin-left: auto; }
.launch-card #existing-go { color: var(--brand); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.launch-card #existing-go:hover:not(:disabled) { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); }
.launch-card #dgo { background: linear-gradient(120deg, #087f91, #2868b8); border-color: transparent; color: #fff; box-shadow: 0 4px 12px -6px rgba(21, 92, 163, .4); }
.launch-card #drop-say:empty { display: none; }
.launch-runs .run-row { grid-template-columns: 48px minmax(0, 1fr) 160px 108px 100px; padding: 17px 22px; gap: 18px; position: relative; }
.launch-runs .run-row > img, .launch-runs .run-row > .ph { width: 48px; height: 54px; border-radius: 10px; }
.launch-runs .rr-main b { font-size: 16px; }
.launch-runs .rr-main em { font-size: 16px; }
.launch-runs .rr-state { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.launch-runs .rr-at { font-size: 16px; }
.launch-runs .run-row.is-running { background: linear-gradient(100deg, color-mix(in srgb, var(--brand-soft) 65%, var(--surface)), var(--surface) 80%); }
.launch-runs .run-row.is-running::before { content: ''; position: absolute; top: 14px; bottom: 14px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.launch-live { position: relative; display: inline-block; width: 17px; height: 17px; flex: none; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-top: 2px solid var(--brand); border-radius: 50%; animation: launch-orbit 1.8s linear infinite; }
.launch-live::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); }
@keyframes launch-orbit { to { transform: rotate(360deg); } }
/* 常见电脑高度里优先露出操作；增加空间用于内容，不用于空白。 */
@media (min-width: 1101px) and (max-height: 950px) {
  .launch-heading { margin-bottom: 18px; }
  .launch-eyebrow { margin-bottom: 7px; }
  .launch-heading h1 { font-size: 30px; line-height: 1.3; }
  .launch-heading p { margin-top: 7px; }
  .launch-path { padding: 13px 22px; margin-bottom: 20px; }
  .batch-start > .launch-card { gap: 13px; padding: 21px; }
  .launch-card .sc-head p { margin-top: 3px; }
  .launch-card .sc-form { gap: 11px; }
  .launch-card .dropzone { min-height: 135px; padding: 11px; gap: 4px; }
  .launch-drop-icon { width: 28px; height: 28px; margin: 0; }
  .launch-drop-icon > .i { width: 25px; height: 25px; }
  .launch-card .sc-form textarea { min-height: 88px; padding: 11px 13px; }
  .launch-design .sc-form textarea { flex-basis: 153px; min-height: 153px; }
  .launch-guidance { padding: 10px 12px; gap: 10px; }
  .launch-guidance p { display: none; }
  .launch-input-facts { margin-top: 3px; }
  .launch-card .sc-foot { padding-top: 11px; row-gap: 8px; }
}
@media (max-width: 1400px) and (min-width: 901px) {
  .launch-heading { gap: 20px; }
  .launch-heading h1 { font-size: 29px; }
  .launch-path { gap: 18px; padding: 18px 20px; }
  .launch-path-start { flex-basis: 140px; font-size: 16px; }
  .launch-path ol { gap: 17px; }
  .launch-path li { gap: 7px; }
  .launch-path li + li::before { width: 9px; left: -13px; }
  .launch-path li > .i { width: 18px; height: 18px; }
  .launch-path small { font-size: 16px; }
  .batch-start { gap: 20px; }
  .batch-start > .launch-card { padding: 20px; }
  .launch-card .sc-head h2 { font-size: 20px; }
  .launch-card .sc-head { gap: 10px; }
  .launch-card .sc-head p { font-size: 16px; }
  .launch-card .sc-ic { width: 40px; height: 40px; border-radius: 12px; }
  .launch-card .sc-foot > .btn { width: 100%; margin-left: 0; }
  .launch-card .sc-foot > span { width: 100%; }
}
@media (max-width: 900px) {
  .launch-heading { align-items: flex-start; flex-wrap: wrap; }
  .launch-path { align-items: flex-start; flex-direction: column; gap: 14px; }
  .launch-path-start { flex: none; }
  .launch-path ol { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .launch-path li + li::before { display: none; }
  .batch-start { grid-template-columns: minmax(0, 1fr); }
  .launch-runs .run-row { grid-template-columns: 48px minmax(0, 1fr) 108px; gap: 14px; }
  .launch-runs .rr-flow, .launch-runs .rr-at { display: none; }
}
@media (prefers-color-scheme: dark) {
  .launch-card #dgo { background-image: linear-gradient(120deg, #219caa, #326bb8); }
}
@media (prefers-reduced-motion: reduce) {
  .launch-live { animation: none; }
  .launch-card::before, .batch-start > .launch-card, .launch-guidance { transition: none; }
}
