.artifact-row { position:relative; min-width:0; }
.artifact-row .case-button { min-width:0; }
.artifact-row-controls { position:absolute; right:2px; top:50%; transform:translateY(-50%); display:flex; background:#191919; border-radius:7px; visibility:hidden; }
.artifact-row:hover .artifact-row-controls,.artifact-row:focus-within .artifact-row-controls { visibility:visible; }
.artifact-row-controls .icon-button { width:30px; height:34px; }
.artifact-row svg,.artifact-pane svg { width:20px; height:20px; }
.artifact-row:has([aria-pressed="true"]) .case-label strong::before { content:'★ '; color:#aaa; }
.workspace:has(.artifact-pane:not([hidden])) { grid-template-columns: minmax(180px,22%) minmax(0,1fr) minmax(260px,33%); }
.artifact-pane { background:#171717; border-left:1px solid #353535; padding:20px; overflow:auto; min-width:0; }
.artifact-pane header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.artifact-pane h2 { margin:0; font-size:1.2rem; overflow-wrap:anywhere; }
.artifact-pane select { max-width:100%; margin-top:1rem; }
.artifact-pane article { margin:1.4rem 0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.55; }
.workspace.is-entry .artifact-pane { display:none; }
@media (max-width:760px) { .artifact-pane { position:fixed; inset:0 0 0 auto; width:min(90vw,430px); z-index:2; box-shadow:-8px 0 24px #0007; } }
@media (hover:none) { .artifact-row-controls { visibility:visible; } .artifact-row .case-button { padding-right:64px; } }
