/* Studio page: asset-types (features/studio/asset-types.js). Page-specific styles only; shared ones are in kit.css. */
.at-list { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; }
.at-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 32px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); transition: background .12s; }
.at-row:last-child { border-bottom: 0; }
.at-row:hover { background: light-dark(#fafafc, #1e1e21); }
.at-row:has(.at-open:focus-visible) { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue); }
.at-row.is-archived .at-name, .at-row.is-archived .at-pipeline { opacity: .6; }
.at-main { min-width: 0; }
.at-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.at-open { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.at-open::after { content: ""; position: absolute; inset: 0; }   /* the whole row opens the details */
.at-open:focus-visible { outline: none; }
.at-short { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--zinc-100); border: 1px solid var(--zinc-200); color: var(--zinc-500); font-size: 11px; font-weight: 600; letter-spacing: .03em; font-family: var(--mono); }
.at-desc { margin-top: 3px; font-size: 13px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.at-desc.sk-missing { color: var(--text-3); }
.at-flow { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.at-flow-label { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.at-pipeline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; }
.at-pipeline li { display: inline-flex; align-items: center; }
.at-pipeline li + li::before { content: ""; width: 6px; height: 1px; background: var(--border-strong); margin-right: 4px; }
.pill.at-tt { font-weight: 600; }
.at-tt-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot, currentColor); flex: none; }
.at-unknown, .at-none { font-size: 12px; color: var(--text-3); }
.at-empty .btn { margin-top: 12px; }

/* Drawer */
.at-detail-sec { margin-top: 28px; }
.at-detail-sec h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; }
.at-detail-sec h3 span { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text-3); font-size: 12px; }
.at-steps { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; }
.at-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.at-steps li:last-child { border-bottom: 0; }
.at-steps li.muted .at-step-name { color: var(--text-2); }
.at-step-n { width: 18px; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text-3); flex: none; }
.at-step-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.at-step-short { font-family: var(--mono); font-size: 11px; color: var(--text-2); }
.at-note { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.at-desc-full { white-space: pre-line; }
.at-detail-actions { margin-top: 28px; }

@media (max-width: 760px) {
  .at-row { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
}
