:root { --acc: #b4234a; --accd: #8f1b3a; --accbg: #fbeff2 }
.slots { display: flex; gap: 16px; align-items: center; width: min(860px, 100%) }
.slot { flex: 1; height: 230px; border: 2px dashed #c3c8d0; background: var(--panel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-align: center; padding: 16px; min-width: 0 }
.slot:hover, .slot.over, body.over .slot { border-color: var(--acc); background: var(--accbg) }
.slot em { font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx3); font-weight: 700 }
.slot .ic { width: 52px; height: 52px; background: var(--accbg); display: grid; place-items: center } .slot b { font-size: 17px }
.slot .fn { font-size: 13px; font-weight: 600; color: var(--tx); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.slot.has { border-style: solid; border-color: var(--acc) } .slot.has b { display: none }
#slotB.has { border-color: #0f8a4a }
.vs { font-weight: 800; color: var(--tx3) }
.gorow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: center }
.col { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0 }
.bar { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel) } .bar .seg { width: 300px } .zt { font-size: 12.5px; color: var(--tx2); min-width: 44px; text-align: center }
.stage { flex: 1; position: relative; overflow: hidden; background: #e9ecf0; cursor: grab; touch-action: none } .stage.drag { cursor: grabbing }
.layer { position: absolute; left: 0; top: 0; transform-origin: 0 0 } .layer canvas { display: block; box-shadow: 0 2px 10px rgba(0,0,0,.2); background: #fff }
.boxes { position: absolute; left: 0; top: 0; pointer-events: none } .bx { position: absolute; border: calc(2.5px / var(--z, 1)) solid #d6009a }
.bx span { position: absolute; left: 0; top: 0; background: #d6009a; color: #fff; font: 800 calc(13px / var(--z, 1)) Inter, sans-serif; padding: 0 calc(5px / var(--z, 1)) }
.busy { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(233,236,240,.7); font-weight: 700 }
.legend div { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin-bottom: 6px; min-width: 0 } .legend i { width: 18px; height: 10px; flex: none }
.legend small { color: var(--tx3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0 }
.ck { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-top: 8px } .ck input { accent-color: var(--acc) }
.alist { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto }
.ar { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line2); background: var(--panel); padding: 7px 10px; text-align: left; cursor: pointer; font-size: 13px; color: var(--tx2) } .ar:hover { border-color: var(--acc) }
.ar b { background: #d6009a; color: #fff; min-width: 22px; text-align: center; font-size: 12px; padding: 1px 4px }
.plist { display: flex; flex-direction: column; gap: 3px; max-height: 220px; overflow: auto }
.pr { display: flex; justify-content: space-between; gap: 8px; border: 0; border-left: 3px solid transparent; background: #f7f8fa; padding: 7px 10px; cursor: pointer; text-align: left; font-size: 13px }
.pr b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .pr span { color: var(--tx3); white-space: nowrap } .pr.on { border-left-color: var(--acc); background: var(--accbg) }
.tlist div { margin-bottom: 8px; line-height: 1.9 } .tlist em { font-style: normal; font-weight: 700; font-size: 12px; margin-right: 6px } .tlist em.g { color: #c0262f } .tlist em.a { color: #0f8a4a }
.tlist span { display: inline-block; background: #f2f3f5; padding: 0 6px; margin: 0 4px 0 0; font-size: 12.5px; line-height: 1.7 }
.none { font-size: 13px; color: var(--tx3) }
.nudge { display: flex; gap: 6px }
.go { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px } .go .btn { width: 100% }
@media (max-width: 720px) { .slots { flex-direction: column } .slot { width: 100%; height: 160px } }
.app { height: 100vh; height: 100dvh } #vStart { overflow: auto } #vWork { overflow: hidden }
