/* Brett's catalog editor at /catalog. */
.cstCatalog{max-width:1100px;margin:0 auto;padding:24px 16px 48px}
.cstCatalogHead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.cstCatalogHead h1{margin:0 0 4px}
.cstCatalogActions{display:flex;align-items:center;gap:12px}
.cstCatalogNote{margin:12px 0 24px;color:var(--pt-muted)}
.cstCatalog section{margin:0 0 32px}
.cstCatalog h2{font-size:20px;margin:0 0 12px}
.cstCatalog h3{font-size:15px;margin:16px 0 8px}
.cstSample{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:999px;background:#fdebe1;color:#8a2f08;font-size:11px;font-weight:600;vertical-align:middle}
.cstRow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.cstRow label{font-weight:600;color:var(--pt-ink)}
.cstRow label:not(:first-child){margin-left:16px}
.cstTable{width:100%;border-collapse:collapse;margin:0 0 8px;font-size:14px}
.cstTable th{text-align:left;font-weight:600;color:var(--pt-muted);padding:6px 8px;border-bottom:1px solid var(--pt-border)}
.cstTable td{padding:6px 8px;border-bottom:1px solid var(--pt-border);vertical-align:middle}
.cstCatalog input[type=number]{width:88px;text-align:right}
.cstCatalog input[type=text]{width:180px}
.cstCatalog input.wide{width:min(560px,100%)}
.cstCatalog select{max-width:300px}
.cstSystem{border:1px solid var(--pt-border);border-radius:10px;padding:12px 16px;margin:0 0 12px;background:var(--pt-panel)}
.cstSystem summary{cursor:pointer;padding:4px 0}
.cstSystem[open] summary{margin-bottom:12px}
.cstFinishes{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cstFinishes li{display:flex;gap:12px;align-items:center}
.cstFinishes li>span{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.cstFinishes img{border-radius:6px;object-fit:cover}
.cstNoPhoto{width:64px;height:48px;display:grid;place-items:center;border:1px dashed var(--pt-border);border-radius:6px;font-size:11px;color:var(--pt-muted)}
.cstRemove{font-size:12px}
@media (max-width:700px){.cstTable{display:block;overflow-x:auto}}
