.recent-job { width: 100%; align-items: center; background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; color: var(--ink); }
.recent-job:hover { background: #f7f9fd; }
.recent-copy { min-width: 0; display: grid; gap: 6px; }
.recent-copy small { font-size: 10px; }
.task-summary { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-weight: 550; font-size: 13px; }
.recent-job .badge { flex-shrink: 0; }
.tasks-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.tasks-layout .task-list { min-width: 0; gap: 9px; }
.tasks-layout .task-card { padding: 0; }
.task-select { display: block; width: 100%; border: 0; background: #fff; color: var(--ink); padding: 15px 17px; text-align: left; border-radius: 11px; }
.task-select:hover { background: #f8faff; }
.task-select[aria-expanded="true"] { background: var(--primary-soft); box-shadow: inset 3px 0 var(--primary); }
.task-select:focus-visible { outline-offset: -3px; }
.task-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.task-row-heading .badge { flex-shrink: 0; }
.task-select .task-meta { display: block; margin-top: 7px; line-height: 1.6; overflow-wrap: anywhere; }
.task-row-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--muted); font-size: 10px; }
.task-row-footer .task-id { font-size: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-row-cost { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.side-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(620px, 100%); height: 100dvh; max-height: none; max-width: 100%; min-width: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: #fff; overflow: hidden; box-shadow: -12px 0 48px #2427331f; }
.side-drawer[open] { display: flex; flex-direction: column; }
.side-drawer::backdrop { background: #24273355; backdrop-filter: none; }
body.detail-open { overflow: hidden; }
.drawer-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 24px; flex: 1; }
.task-detail-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); gap: 10px; flex-shrink: 0; }
.task-detail-heading h2 { font-size: 17px; }
.task-detail .card-heading { margin-top: 18px; }
.task-detail .task-id { padding-top: 3px; }
.task-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 380px; background: #121822; border-radius: 8px; object-fit: contain; }
.task-detail .task-prompt { max-height: none; overflow: visible; font-size: 12px; margin-top: 8px; }
.task-detail-label { margin-top: 22px; font-size: 13px; }
.task-assets { font-size: 10px; line-height: 1.7; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 8px; }
.task-detail .task-progress { flex-wrap: wrap; }
.task-detail .task-progress progress { max-width: 100%; }
.task-detail-actions { flex-wrap: wrap; margin-top: 18px; justify-content: flex-end; }
.task-detail .task-usage-info > p { color: var(--muted); line-height: 1.7; font-size: 11px; margin-top: 8px; }
.task-charge { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; }
.task-charge strong { font-size: 21px; color: var(--primary); font-variant-numeric: tabular-nums; }
.task-parameters { margin-top: 16px; }
@media (max-width: 560px) {
  .task-select { padding: 13px; }
  .drawer-body, .task-detail-heading { padding: 18px; }
  .task-row-heading { gap: 8px; }
  .task-summary { font-size: 12px; }
  .task-row-footer { flex-wrap: wrap; gap: 5px; }
  .recent-job { padding-block: 12px; }
}
