/* Match the compact H3 task grid, without changing the H3 page. */
#symphony-reference-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:12px;margin:12px 0}
.symphony-reference-item{margin:0;min-width:0;padding:8px;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.symphony-reference-item>img,.symphony-reference-item>video{display:block;width:100%;height:150px;object-fit:contain;background:#eef2f8;border-radius:6px}
.symphony-reference-item figcaption{font-size:13px;overflow-wrap:anywhere;padding-top:6px}
.symphony-detail-refs .symphony-reference-item{width:180px;max-width:100%}
.workspace:has(#seedance-tasks-view:not([hidden])) .main{max-width:none;width:100%;padding-bottom:calc(var(--symphony-pager-height,80px) + 16px)}
#seedance-tasks-view{width:100%;min-width:0}
#seedance-tasks-view>.panel{width:100%;max-width:none}
#seedance-tasks-view .task-controls{position:static}
#seedance-tasks-view .task-grid{grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:18px}
#symphony-task-list .task-card{min-width:0;background:var(--surface)}
#symphony-task-list .task-card-body{padding:12px}
#symphony-task-list .task-card-body h3{font-size:.88rem;margin-bottom:9px}
#symphony-task-list .task-card-owner{font-size:.78rem;color:var(--muted);margin:0 0 8px}
#symphony-task-list .symphony-submit-time{display:block;margin-top:3px;font-variant-numeric:tabular-nums}
#symphony-task-list .badge{font-size:.7rem}
#symphony-task-list .badge.completed{color:#329978;background:#e8f8ef}
#symphony-task-list .badge.queued,#symphony-task-list .badge.review{color:#aa752b;background:#fff2df}
#symphony-task-list .symphony-cover{position:relative;width:100%;padding:0;border:0;border-radius:0;background:#eef2f8;aspect-ratio:16/9;isolation:isolate}
#symphony-task-list .symphony-cover img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
#symphony-task-list .symphony-cover:focus-visible{outline:3px solid var(--blue);outline-offset:-3px}
.symphony-cover-placeholder{color:#8b9fba;font-size:36px}
.symphony-duration{position:absolute;bottom:8px;right:8px;background:#152138b0;color:white;font-size:12px;padding:2px 6px;border-radius:4px;z-index:2}
.symphony-play{position:absolute;inset:auto;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:white;background:#15213880;font-size:15px;opacity:0;z-index:2;transition:opacity .12s}
.symphony-cover:hover .symphony-play,.symphony-cover:focus-visible .symphony-play{opacity:1}
.symphony-hover-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#eef2f8;pointer-events:none;z-index:1}
.symphony-empty{grid-column:1/-1}
.symphony-model-filter{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0}
.symphony-model-filter label{display:flex;align-items:center;gap:10px;margin:0;color:var(--muted);font-size:13px}
.symphony-model-filter select{width:190px;margin:0}
#symphony-pager{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}
#symphony-result-count{margin-inline-end:6px;color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
#symphony-pager[hidden],#symphony-controls[hidden]{display:none}
#seedance-tasks-view #symphony-pager{position:fixed;inset:auto 0 0 208px;z-index:25;padding:10px 24px calc(10px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -3px 14px #1521380d}
#symphony-pages{flex-wrap:wrap;justify-content:center}
body:has(#seedance-tasks-view:not([hidden])) #toast{bottom:calc(var(--symphony-pager-height,80px) + 14px)}
.symphony-task-dialog>video{width:100%;max-height:55vh;object-fit:contain;background:#101827;border-radius:10px}
.symphony-task-dialog h3{margin:20px 0 10px;font-size:15px}
.symphony-task-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7;max-height:40vh;overflow:auto;background:#f5f8fc;padding:14px;border-radius:10px}
.symphony-detail-info{display:grid;gap:6px;margin:16px 0;color:var(--muted);font-size:13px}
.symphony-detail-refs{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.symphony-detail-refs img,.symphony-detail-refs video{max-width:100%;max-height:180px;object-fit:contain}
#symphony-results:not(.symphony-full-list) .task-grid{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}
@media(max-width:1120px){#seedance-tasks-view #symphony-pager{left:178px}}
@media(max-width:760px){#seedance-tasks-view #symphony-pager{left:0;padding-inline:12px}}
@media(max-width:600px){#seedance-tasks-view .task-search-row{grid-template-columns:1fr 1fr}.symphony-model-filter .small-note{width:100%}#symphony-pager{gap:6px}#symphony-page-label{font-size:12px}}
.symphony-mention-menu:not([hidden]){display:grid;position:relative;margin:5px 0 8px;padding:5px;max-height:210px;overflow:auto;z-index:2;gap:3px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 24px #14244414}
.symphony-mention-option{display:flex;align-items:center;gap:8px;padding:5px 8px;width:100%;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.symphony-mention-option[aria-selected="true"],.symphony-mention-option:hover{background:#eef1ff;color:#382591}
.symphony-mention-preview{width:29px;height:29px;flex:0 0 29px;object-fit:cover;border-radius:5px;background:#e7e7fb;color:#4930a8;display:grid;place-items:center}
#symphony-prompt{min-height:160px;max-height:55vh;overflow:auto;padding:10px 8px 32px;color:var(--ink);font:inherit;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:6px;cursor:text}
#symphony-prompt:focus{outline:2px solid #aec5ff;outline-offset:-2px}
#symphony-prompt[data-empty="true"]::before{content:attr(data-placeholder);position:absolute;color:#7a889c;pointer-events:none}
.symphony-prompt-chip{position:relative;display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;width:46px;height:34px;margin:1px 2px;overflow:hidden;border:1px solid #bbcaf0;border-radius:6px;background:#eaf0fc;color:#345bad;cursor:grab;user-select:none}
.symphony-prompt-chip:active{cursor:grabbing}
.symphony-prompt-chip>*{pointer-events:none}
.symphony-prompt-chip img,.symphony-prompt-chip video{width:100%;height:100%;object-fit:cover}
.symphony-prompt-chip[data-kind="video"]::after{content:'▶';position:absolute;right:2px;bottom:2px;padding:1px 4px;border-radius:3px;background:#101c35bc;color:white;font-size:9px;line-height:1.4;pointer-events:none}
.symphony-prompt-drop{position:fixed;width:2px;background:#245fdd;border-radius:2px;z-index:10;pointer-events:none}
.symphony-download-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px;font-size:13px}
.symphony-download-tools label,.symphony-select-video{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;cursor:pointer}
.symphony-download-tools input,.symphony-select-video input{width:16px;height:16px;margin:0;accent-color:#2165df}
.symphony-select-video{margin-top:12px;color:var(--muted)}
#symphony-download-tools[hidden],.symphony-select-video[hidden],#symphony-download[hidden],#symphony-batch-submit[hidden]{display:none}
#studio-box #creation-actionbar .actionbar-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#symphony-batch-submit{white-space:nowrap;min-height:44px;padding:10px 14px;border-radius:22px;font-size:13px}
.symphony-risk-banner:not([hidden]){display:grid;gap:6px;margin:8px 0 10px}
.symphony-risk-item{margin:0;padding:8px 11px;border-radius:8px;font-size:12.5px;line-height:1.5}
.symphony-risk-warn{background:#fff4e5;border:1px solid #f5c98b;color:#7a4306}
.symphony-risk-audio{background:#eef4ff;border:1px solid #c5d8fb;color:#1e428a}
.symphony-card-reason{margin:7px 0 0;font-size:.75rem;line-height:1.45;color:#9b3428;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.symphony-failure-hint{margin:4px 0;padding:8px 10px;border-radius:8px;background:#fff4e5;border:1px solid #f5c98b;color:#7a4306;font-size:12.5px;line-height:1.5}
@media(max-width:600px){#symphony-results>.panel-title{flex-wrap:wrap;gap:10px}.symphony-download-tools{gap:9px}}
