.delivery-records{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin:20px 0}.delivery-record{padding:20px;min-width:0}.delivery-record p{overflow-wrap:anywhere}.delivery-record h3{margin:0 0 10px}.delivery-history>.choice{margin:20px 0}.delivery-history input{max-width:540px}.delivery-records .asset{border:1px solid var(--ui-border);border-radius:16px;background:var(--ui-panel);padding:20px}.assets-panel .grid{margin-top:20px}.home-quick-results video{aspect-ratio:9/16;object-fit:contain}.delivery-records .button,.delivery-records button{margin:4px 6px 4px 0}@media(max-width:600px){.delivery-records{grid-template-columns:1fr}}
/* Media-first records with readable metadata, in both existing themes. */
.record-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.record-toolbar input{flex:1;min-width:200px}.record-toolbar select{width:auto;min-width:125px}.delivery-records{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.delivery-records .delivery-record{padding:0 0 18px;overflow:hidden}.delivery-record>*:not(.record-cover){margin-left:16px;margin-right:16px}.delivery-record h3{font-size:16px;margin-top:16px}.delivery-record p.muted{font-size:11px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-cover{height:250px;background:var(--ui-input);display:flex;align-items:center;justify-content:center;color:var(--ui-muted)}.record-cover img{width:100%;height:100%;object-fit:contain}.record-date{display:block;color:var(--ui-muted);font-size:12px}.delivery-records.list-view{grid-template-columns:1fr}.delivery-records.list-view .delivery-record{position:relative;padding:18px 18px 18px 170px;min-height:190px}.list-view .record-cover{position:absolute;left:0;top:0;bottom:0;width:150px;height:auto}.list-view .delivery-record h3{margin-top:0}.credits-workspace{max-width:1300px}.credit-summary{display:flex;align-items:center;justify-content:space-between;padding:28px 32px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:20px;margin:18px 0 26px}.credit-balance{font-size:48px;font-weight:650;letter-spacing:-1px}.credit-balance-meta{color:var(--ui-muted)}.credit-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.credit-filters label{min-width:150px}.credit-filters select{width:160px}.credit-filters input[type=search]{flex:1;min-width:180px}.credit-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.credit-stats article{background:var(--ui-soft);padding:20px;border-radius:14px;display:flex;justify-content:space-between;gap:12px}.credit-stats strong{font-size:23px}.credit-table-scroll{overflow:auto}.credit-table{width:100%;border-collapse:collapse;min-width:680px;font-size:14px}.credit-table td,.credit-table th{padding:16px 12px;text-align:left;border-bottom:1px solid var(--ui-border-soft)}.credit-table th{color:var(--ui-muted);font-weight:500}.credit-task{max-width:260px;overflow-wrap:anywhere}.credit-income{color:var(--ui-accent)}@media(max-width:680px){.credit-summary{display:block;padding:22px}.credit-stats{grid-template-columns:1fr}.credit-filters>*{width:100%!important}.delivery-records.list-view .delivery-record{padding-left:112px}.list-view .record-cover{width:100px}}

/* Assets and task detail, semantic dual-theme surfaces. */
.assets-panel .asset-tabs,.picker-types{display:flex;gap:6px;flex-wrap:wrap;padding:6px;border-radius:14px;background:var(--ui-soft);margin:18px 0}.asset-tabs button,.picker-types button{flex:0 0 auto;padding:9px 14px;border-radius:10px;min-height:38px}.assets-panel .asset-search{margin:20px 0;display:flex;gap:10px}.assets-panel .asset-search input{flex:1}.assets-panel .grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.asset-category,.task-status-badge{display:inline-flex;padding:5px 10px;border-radius:8px;background:var(--ui-soft);color:var(--ui-accent);font-size:12px}.asset-recovery{margin:16px 0;padding:14px 16px;border:1px solid var(--ui-border);border-radius:12px}.asset-recovery summary{font-size:14px;cursor:pointer}.task-facts{display:grid;gap:0;margin:20px 0}.task-facts>div{display:grid;grid-template-columns:140px 1fr;padding:13px 0;border-bottom:1px solid var(--ui-border-soft);gap:18px}.task-facts dt{color:var(--ui-muted)}.task-facts dd{margin:0;overflow-wrap:anywhere}.task-record-id{font-size:12px;color:var(--ui-muted);overflow-wrap:anywhere}.task-history-link{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--ui-border)}.task-history-link small{color:var(--ui-muted)}.delivery-history>.choice{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.delivery-history>.choice button{flex:0 0 auto;min-height:40px;padding:9px 18px;border-radius:10px}.delivery-history .delivery-records{gap:18px}.picker-v3 .dialog-foot{position:sticky;bottom:0;background:var(--ui-panel);z-index:2}.picker-v3 .dialog-body{min-height:200px}@media(max-width:680px){.task-facts>div{grid-template-columns:1fr;gap:5px}.assets-panel .asset-search{flex-wrap:wrap}.assets-panel .asset-search input{flex-basis:100%}.asset-tabs,.picker-types{max-width:100%}.task-history-link{align-items:start;flex-direction:column}}

.view-assets>.heading,.view-history>.heading{margin-bottom:22px}.view-assets>.heading h1,.view-history>.heading h1{font-size:28px;margin-bottom:0}.view-assets>.heading p,.view-history>.heading p{display:none}.assets-panel,.delivery-history{padding:24px}.assets-panel>.row:first-child p{margin:0;font-size:14px}.assets-panel .asset-recovery{margin:10px 0;padding:10px 14px;font-size:13px}.assets-panel .asset-search{margin:14px 0 20px}.assets-panel .asset-search button{font-size:13px;min-height:38px;padding:8px 12px}.assets-panel .asset .preview{height:110px;min-height:110px}.assets-panel .asset h3{font-size:15px;line-height:1.5}.assets-panel .asset p{font-size:13px;line-height:1.65}.assets-panel .asset{padding:16px}.delivery-history>p{font-size:14px}.task-facts{max-height:55vh;overflow:auto}.view-assets>.heading,.view-history>.heading{padding-top:0}@media(max-width:680px){.assets-panel,.delivery-history{padding:14px}.assets-panel .asset-tabs{gap:4px}.assets-panel .asset-tabs button{font-size:12px;padding:7px 10px}.assets-panel .grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.task-facts{max-height:none}}
