
.history-toolbar .history-select-all { display:inline-flex; align-items:center; gap:7px; margin:0 5px 7px 8px; color:rgba(10,17,29,.72); font-size:12px; cursor:pointer; }
.history-toolbar .history-select-all input,.history-item-select input { width:16px; height:16px; margin:0; accent-color:#11645a; cursor:pointer; }
.history-toolbar .history-delete-selected,.studio-history-grid .history-delete-one { position:static; display:inline-flex; align-items:center; justify-content:center; gap:6px; width:auto; height:32px; padding:0 10px; border:1px solid rgba(10,17,29,.12); border-radius:7px; color:#9d3028; background:rgba(255,255,255,.82); font-size:11px; cursor:pointer; }
.studio-history-grid .history-delete-one { width:32px; padding:0; }
.history-toolbar .history-delete-selected:disabled,.studio-history-grid .history-delete-one:disabled { opacity:.4; cursor:not-allowed; }
.studio-history-grid { grid-template-columns:1fr; gap:8px; }
.studio-history-grid article { display:grid; grid-template-columns:112px 20px minmax(0,1fr) 34px; align-items:center; gap:12px; padding:8px; }
.studio-history-grid .history-result-strip { display:flex; gap:6px; min-width:0; overflow-x:auto; border-radius:6px; }
.studio-history-grid .history-result-item { width:112px; height:84px; flex:0 0 112px; border-radius:6px; background:rgba(238,243,241,.85); }
.studio-history-grid .history-result-item img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; }
.studio-history-grid .history-result-item .history-download-button { top:5px; right:5px; width:26px; height:26px; }
.studio-history-grid article > div { min-width:0; padding:2px 0; }
.studio-history-grid article > div b { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.studio-history-grid article.is-failed .history-result-strip { min-height:0; display:flex; }
.studio-history-grid .history-result-strip > .studio-empty { width:112px; height:84px; min-height:84px; flex:0 0 112px; margin:0; padding:4px; gap:3px; }
.studio-history-grid .history-result-strip > .studio-empty b { font-size:11px; }
.history-toolbar .history-delete-selected svg,.studio-history-grid .history-delete-one svg { width:15px; height:15px; }
@media (max-width:700px) {
  .studio-history-grid article { grid-template-columns:68px 18px minmax(0,1fr) 30px; gap:7px; padding:7px; }
  .studio-history-grid .history-result-item { width:68px; height:60px; flex-basis:68px; }
  .studio-history-grid .history-result-strip > .studio-empty { width:68px; height:60px; min-height:60px; flex-basis:68px; }
  .history-toolbar .history-refresh { float:none; }
}
