.task-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 24px 0 20px; counter-reset: task; gap: 8px; }
.task-steps li { counter-increment: task; font-size: 13px; color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 7px; }
.task-steps li::before { content: counter(task); display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-2); font-size: 13px; }
.task-steps li.current { color: var(--accent); font-weight: 600; }
.task-steps li.current::before { color: white; border-color: var(--accent); background: var(--accent); }
.task-steps li.done::before { content: "✓"; color: var(--success); border-color: #c5d5ce; background: #edf4f0; }
#background-task { display: flex; margin: 0 auto 12px; min-width: 220px; }
.task-dialog .director-orbit { height: 74px; width: 74px; margin: 20px auto; }
.task-dialog #task-explanation { margin-bottom: 18px; }
.task-dialog #task-error { text-align: left; }
.task-dialog #delivery { padding-bottom: 4px; }
.task-activity { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; text-align: left; font-size: 13px; }
.task-activity summary { cursor: pointer; color: var(--muted); }
.task-activity ol { padding: 0; list-style: none; max-height: 240px; overflow-y: auto; }
.activity-event { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 12px 0; }
.activity-event time { color: var(--faint); font-size: 13px; }
.activity-event small { grid-column: 2; color: var(--muted); }
.extracted-text { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.transcript-text { white-space: pre-wrap; line-height: 1.9; overflow-wrap: anywhere; max-height: 320px; overflow-y: auto; }
.tool-result { scroll-margin-top: 78px; }
.source-choice-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.source-media-preview { min-width: 0; }
.source-media-preview summary { cursor: pointer; font-size: 13px; color: var(--accent); padding-bottom: 10px; }
.source-media-preview video { display: block; object-fit: contain; }
.brief-suggestions [aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
@media (max-width: 550px) {
  .tool-result { scroll-margin-top: 125px; }
  .transcript-text { max-height: 190px; }
  .media-result-layout:has(.source-media-preview:not([open])) { gap: 4px; }
}
.task-dialog .download-actions a:first-child { font-weight: 600; }
.task-dialog #make-again { background: transparent; border: 0; margin-top: 4px; color: var(--muted); }
.topbar .header-divider, .topbar #page-title { display: none; }
.service-details { margin-top: 18px; color: var(--muted); font-size: 13px; }
.service-details summary { cursor: pointer; }
#account-information { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
#account-information span { font-size: 13px; color: var(--muted); }
.additional-materials { margin-top: 16px; color: var(--muted); font-size: 13px; }
.additional-materials summary { cursor: pointer; }
.additional-materials > a { display: inline-block; color: var(--accent); margin: 12px 16px 0 0; }
.template-art { position: relative; overflow: hidden; }
.template-art::before, .template-art::after { content: none; }
.template-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.template-art > .art-tag, .template-art > strong, .template-art > .art-line { display: none; }
@media (max-width: 550px) {
  .task-dialog { max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  .task-steps { gap: 4px; }
  .task-steps li { font-size: 13px; }
  .task-dialog .dialog-heading { margin-bottom: 12px; }
  .task-dialog .dialog-heading h2 { font-size: 19px; }
  .task-dialog #result-video { max-height: 46dvh !important; }
  .task-dialog .download-actions { margin-top: 14px; }
}
.style-discovery{display:grid;gap:10px;margin:18px 0}.style-filters{display:flex;gap:4px;flex-wrap:wrap}.style-filters [aria-pressed=true]{background:var(--accent-soft,#e6efe8);color:var(--ink,#233b32);border-radius:6px}.style-discovery input{width:100%}.future-plans{font-size:13px;color:var(--muted,#68736c)}
.style-filters .text-button {
  min-width: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
}
.style-filters [aria-pressed=true] { border-color: var(--accent-border); }
.style-discovery input {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
#delivery-notes { white-space: pre-line; }
.production-mode { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 4px; margin: 18px 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.production-mode legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.production-mode label { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 12px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; min-width: 0; }
.production-mode label:hover { border-color: var(--line-hover); }
.production-mode label:has(input:checked) { background: white; border-color: var(--accent-border); box-shadow: 0 1px 2px #1018280a; }
.production-mode input { appearance: none; -webkit-appearance: none; position: static; width: 17px; height: 17px; flex: 0 0 17px; margin: 0; border: 1.5px solid var(--line-hover); border-radius: 50%; background: white; cursor: pointer; }
.production-mode input:checked { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
.production-mode input:disabled { opacity: .5; cursor: default; }
.production-mode label > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.production-mode strong { color: var(--muted); font-size: 14px; font-weight: 600; line-height: 21px; }
.production-mode small { color: var(--faint); font-size: 13px; line-height: 17px; }
.production-mode input:checked + span strong { color: var(--accent); }
@media(max-width:550px) { .production-mode label { gap: 8px; min-height: 50px; gap: 7px; padding: 5px 8px; } .production-mode strong { font-size: 13px; } .production-mode small { font-size: 13px; } }
