.next-step-cards h3{margin:0 0 12px}.next-scene-card header,.next-history-row header{display:flex;justify-content:space-between;gap:12px;align-items:start}.next-scene-card header span,.next-history-row header span{font-size:11px;color:var(--muted);white-space:nowrap}.next-scene-card p{font-size:12px;line-height:1.7}.next-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:12px 0}.next-card-actions .button{flex:0 0 100%;width:100%;min-height:38px;white-space:normal;line-height:1.45;padding:9px 10px}.next-card-actions .next-card-done{color:var(--muted);background:var(--canvas);opacity:.65}.next-scene-card footer{display:flex;justify-content:space-between;gap:8px}.next-completed-card{margin-top:18px;padding-top:12px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.next-history-row{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:16px;margin-bottom:12px}.next-history-row p{line-height:1.7}.next-history-row .button{margin-left:12px}.next-card-history{margin-bottom:24px}@media(max-width:600px){.next-scene-card footer .text-button,.next-history-row .text-button{min-height:36px}}
.next-card-actions .ai-input-entry{flex:0 0 100%;width:100%;justify-content:center}
.next-card-progress{flex:0 0 100%;margin:0;color:var(--muted)}

.next-card-actions .next-reference-action{flex:0 1 auto;justify-content:flex-start;max-width:100%;text-align:left;white-space:normal;line-height:1.6}

.next-recommendation-detail header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.next-recommendation-detail header h3{margin:0}.next-recommendation-detail header>span{color:var(--muted);font-size:12px}.next-recommendation-detail h4{margin:20px 0 10px}.next-recommendation-detail>p{line-height:1.7}.next-detail-steps{padding:0;margin:0;list-style:none}.next-detail-steps>li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;border-bottom:1px solid var(--line);padding:12px 0}.next-detail-steps>li>div{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap}.next-detail-steps .muted{font-size:12px}.next-recommendation-detail .timeline{display:grid;gap:8px;margin-top:10px}.next-recommendation-detail .timeline li{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px}.next-recommendation-detail .timeline li>strong{font-size:12px;line-height:1.6}.next-recommendation-detail .timeline li>p{margin:0;font-size:11px;line-height:1.6}
