.timelineDialog{width:min(1480px,96vw);height:min(920px,94vh);max-width:none;padding:0;border:0;border-radius:18px;overflow:hidden;background:#f6f8fc;color:#172033}.timelineDialog::backdrop{background:#0c1220cc}.timelineDialog>.close{z-index:5;right:18px;top:18px}.detailHead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 62px 18px 28px;background:#fff;border-bottom:1px solid #e4e8f0}.detailHead h2{margin:4px 0 3px;font-size:22px}.detailHead small,.detailHead p{margin:0;color:#7b8597}.detailHead>button{border:1px solid #5365e9;border-radius:9px;padding:10px 14px;background:#eef0ff;color:#4052da;cursor:pointer}.detailGrid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(380px,.75fr);height:calc(100% - 95px)}.playerPanel{padding:24px;background:#111827;overflow:auto}.playerPanel video{display:block;width:100%;max-height:63vh;aspect-ratio:16/9;border-radius:12px;background:#05070b;object-fit:contain}.transport{display:flex;align-items:center;gap:9px;padding:14px 2px 10px;color:#aeb8ca;font-size:12px}.transport b{color:#fff;font-size:15px}.transport button{margin-left:auto;border:1px solid #394358;border-radius:7px;padding:7px 9px;background:#202a3d;color:#dce2ec;cursor:pointer}.transport button+button{margin-left:0}.markerTimeline{position:relative;height:62px;margin-top:6px;border-radius:8px;overflow:hidden;background:repeating-linear-gradient(90deg,#1d2638 0,#1d2638 calc(10% - 1px),#344055 calc(10% - 1px),#344055 10%);cursor:crosshair}.markerTimeline>i{position:absolute;inset:8px auto 8px 0;border:1px solid #7587ff;background:#6174ff35;pointer-events:none}.markerTimeline>span{position:absolute;z-index:3;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 6px #fff;pointer-events:none}.timelineMarker{position:absolute;z-index:2;top:17px;height:28px;min-width:5px;border:0;border-radius:5px;background:#f0a93a;color:#172033;overflow:hidden;cursor:pointer}.timelineMarker.confirmed{background:#35c581}.timelineMarker.rejected{background:#647087}.timelineMarker span{padding:0 6px;white-space:nowrap;font-size:10px}.timelineLegend{display:flex;gap:15px;margin-top:12px;color:#8f9aad;font-size:11px}.timelineLegend i{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;background:#f0a93a}.timelineLegend i.confirmed{background:#35c581}.timelineLegend i.rejected{background:#647087}.markerEditor{position:static;width:auto;padding:22px;background:#fff;color:#172033;overflow:auto}.markerFormHead,.markerListHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.markerFormHead h3,.markerListHead h3{margin:3px 0}.markerFormHead small,.markerListHead small{color:#8a94a6}.markerFormHead>b{padding:7px 9px;border-radius:7px;background:#eef0ff;color:#4c5dde;font-size:11px}.markerFields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.markerFields label{display:grid;gap:5px;color:#6a7589;font-size:11px}.markerFields label.wide{grid-column:1/-1}.markerFields input,.markerFields select,.markerFields textarea{width:100%;border:1px solid #dfe4ed;border-radius:8px;padding:9px;background:#fff;color:#172033;resize:vertical}.markerFields button{align-self:end;border:0;border-radius:8px;padding:10px;background:#5365e9;color:#fff;cursor:pointer}.markerListHead{margin-top:24px;padding-top:19px;border-top:1px solid #e9ecf2}.markerTabs{display:flex;gap:5px}.markerTabs button{border:0;border-radius:99px;padding:6px 9px;background:#eef1f6;color:#677286;font-size:10px;cursor:pointer}.markerTabs button.active{background:#5365e9;color:#fff}.markerList{display:grid;gap:9px;margin-top:12px}.markerCard{padding:12px;border:1px solid #e1e6ef;border-left:4px solid #efa93b;border-radius:9px;background:#fff}.markerCard.confirmed{border-left-color:#2db778}.markerCard.rejected{border-left-color:#7a8596;opacity:.72}.markerCardHead{display:flex;justify-content:space-between;gap:10px}.markerCardHead b{font-size:13px}.markerCardHead span{color:#5365e9;font-size:11px}.markerCard p{margin:7px 0;color:#657086;font-size:11px;line-height:1.45}.markerCard small{color:#9099aa}.markerActions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.markerActions button{border:1px solid #e0e5ed;border-radius:6px;padding:5px 7px;background:#f8f9fb;color:#556176;font-size:10px;cursor:pointer}.markerActions button.primary{border-color:#5365e9;background:#eef0ff;color:#4254dc}.markerActions button.danger{color:#c14a55}.markerEmpty{padding:24px 10px;text-align:center;color:#8a94a6;font-size:12px}@media(max-width:1000px){.timelineDialog{height:96vh}.detailGrid{grid-template-columns:1fr;overflow:auto}.playerPanel,.markerEditor{overflow:visible}.markerEditor{padding-bottom:40px}.detailHead{align-items:flex-start;flex-direction:column}.detailHead>button{display:none}}
.detailGrid>.markerEditor{position:static;inset:auto;display:block;width:auto}
.detailHeadActions{display:flex;gap:8px}.detailHeadActions button{border:1px solid #5365e9;border-radius:9px;padding:10px 14px;background:#eef0ff;color:#4052da;cursor:pointer}.detailHeadActions button:first-child{background:#5365e9;color:#fff}.markerEvaluation{display:flex;gap:14px;margin-top:14px;padding:11px 13px;border:1px solid #344055;border-radius:9px;color:#aeb8ca;font-size:11px}.markerEvaluation b{color:#fff}.markerEvaluation.warning{border-color:#85672e;background:#3b301d}.timelineMarker.ai{outline:2px dashed #fff8}.markerCard.ai{background:#f8f6ff}.markerCard.ai .markerCardHead:before{content:'AI';padding:2px 5px;border-radius:4px;background:#6959d9;color:#fff;font-size:8px}.markerCard.ai .markerCardHead{align-items:center}.detailHead>button{border:1px solid #5365e9;border-radius:9px;padding:10px 14px;background:#eef0ff;color:#4052da;cursor:pointer}

.timelineMarker.rule{outline:2px dashed #e5aa38}.markerCard.rule{background:#fffaf0}.markerCard.rule .markerCardHead:before{content:'规则';padding:2px 5px;border-radius:4px;background:#c18416;color:#fff;font-size:8px}.markerCard.imported .markerCardHead:before{content:'导入';padding:2px 5px;border-radius:4px;background:#278a62;color:#fff;font-size:8px}
