.generation-steps{display:flex;align-items:center;gap:0;padding:14px 8px;border:1px solid #e4eaeb;border-radius:16px;background:#fff;position:sticky;top:-20px;z-index:5}
.generation-steps button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-width:0;position:relative;border:0;background:transparent;color:#8b9ba0;padding:4px 0;font:inherit;font-size:12px;white-space:nowrap;box-shadow:none}
.generation-steps button:not(:last-child):after{content:'';position:absolute;right:-8px;top:50%;width:16px;height:1px;background:#e3eaec}
.generation-steps button>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f0f3f4;font-size:12px;flex-shrink:0}
.generation-steps button.is-current{color:#20383e}.generation-steps button.is-current>span{background:#087f78;color:#fff;box-shadow:0 3px 10px #087f7820}
.generation-steps button.is-complete>span{background:#eaf2f2;color:#087f78}
.generation-steps button:disabled{opacity:.6;cursor:default}.generation-steps button:focus-visible{outline:2px solid #a5bcbf;outline-offset:2px;border-radius:8px}
.generation-step-card{margin:22px 0;padding:clamp(20px,4vw,44px);border:1px solid #e1e9eb;border-radius:18px;background:#fff;min-height:260px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px}
.generation-step-card h3{font-size:24px;line-height:1.3;margin:0}.generation-step-card p{color:#61777e;font-size:14px;line-height:1.8;margin:0;max-width:520px}.generation-step-kicker{font-size:11px;letter-spacing:.12em;color:#6b8288}
.generation-step-card img{width:140px;height:120px;object-fit:contain;border:1px solid #e2e9ea;border-radius:12px;background:#fff}
.pa-workbench [hidden],.tvc-studio [hidden]{display:none!important}
.pa-workbench .tvc-studio{margin-top:16px;background:#fff;border:0;padding:0}.pa-workbench .tvc-stage{background:#fff;margin-top:12px}
.pa-workbench .tvc-heading{margin-top:8px}.pa-workbench .tvc-heading h3{font-size:17px}
.pa-workbench .tvc-notice:empty,.pa-workbench .tvc-error:empty{display:none}
.pa-task-tools{margin:12px 0;padding:12px 14px;border:1px solid #e3eaec;border-radius:12px;background:#fff;font-size:12px}.pa-task-tools summary{cursor:pointer;font-weight:600}
.pa-next-stage{display:flex;justify-content:flex-end;margin:16px 0;gap:10px}.pa-next-stage button{min-height:40px}
.pa-character-tabs{display:flex;gap:4px;background:#f5f7f8;border-radius:10px;padding:4px;margin:12px 0}
.pa-character-tabs button{flex:1;border:0;border-radius:8px;padding:8px;background:transparent;font:inherit;font-size:12px;color:#647a80}.pa-character-tabs [aria-selected=true]{background:#fff;color:#20383e;box-shadow:0 1px 4px #20383e12}
.pa-character-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:290px;overflow:auto;overscroll-behavior:contain;padding:2px}
.pa-character-card{display:flex;flex-direction:column;gap:5px;align-items:center;min-width:0;border:1px solid #dee7e9;border-radius:11px;background:#fff;padding:5px;font-size:11px;color:#20383e}
.pa-character-card img{width:100%;height:108px;object-fit:cover;object-position:center top;border-radius:7px;background:#f6f8f9}.pa-character-card[aria-pressed=true]{border-color:#7f9fa2;box-shadow:0 0 0 1px #7f9fa2}.pa-character-card:disabled{opacity:.6}
.pa-character-empty{grid-column:1/-1;font-size:12px;color:#6b8188;line-height:1.6;padding:12px}
.pa-workbench .pa-character-slot{margin-top:14px}.pa-workbench .pa-character-slot h3{font-size:13px;margin:0 0 6px}.pa-workbench .pa-character-input{background:#fff}
@media(max-width:1100px){.generation-steps button{flex-direction:column;gap:5px;font-size:11px}.generation-steps button:not(:last-child):after{top:17px;right:-10px;width:20px}}
@media(max-width:900px){.generation-steps{top:0;padding:10px 5px}.generation-step-card{min-height:240px;padding:22px}.generation-step-card h3{font-size:21px}.pa-character-card img{height:132px}}

.pa-workbench .tvc-retake-tools{margin-top:18px;padding:12px 14px;border:1px solid #e3eaec;border-radius:12px;font-size:13px;background:#fff}.pa-workbench .tvc-retake-tools summary{cursor:pointer;font-weight:600}.pa-workbench .tvc-retake-tools .tvc-retake{border:0;padding:0;background:#fff}

.pa-workbench .tvc-plan-context,.pa-workbench .tvc-grid-create{padding:11px 13px;border:1px solid #e2e9eb;border-radius:11px;background:#fff;margin:10px 0;font-size:12px}.pa-workbench :is(.tvc-plan-context,.tvc-grid-create) summary{font-weight:600;cursor:pointer}.pa-workbench .tvc-heading>div{display:none}
