/* MARKET (creator pages, listings, test-mode orders). Uses the tokens defined in app.css (:root). */
.market-test{margin:0 0 14px;padding:10px 14px;border-radius:var(--r-sm);border:1px dashed var(--warn);color:#ffe3a3;font-size:14px}
.market-filters{gap:8px;flex-wrap:wrap}
.market-filters select{width:auto}
.listing-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
.listing-card{display:flex;flex-direction:column;gap:6px;color:inherit;text-decoration:none}
.listing-card:hover{border-color:var(--orange)}
.listing-card h3{margin:4px 0 0}
.clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pre{white-space:pre-wrap;overflow-wrap:anywhere}
.listing-detail .stat{font-size:26px}
.portfolio-piece img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r-sm);margin-bottom:8px}
.card.inner{background:var(--panel2);box-shadow:none}
.item.wrap{flex-wrap:wrap}
.item.wrap>.grow{flex:1 1 220px}
.pill.warn{border-color:var(--warn);color:#ffe3a3}
/* Launchpad: product cards, product page, launch checklist, forecast */
.product-card{overflow:hidden}
.product-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-bottom:4px;background:var(--panel2)}
.market-collections{margin:10px 0 0}
.market-filters select{max-width:100%}
.shot-strip{display:flex;gap:10px;overflow-x:auto;margin:12px 0 4px;scroll-snap-type:x mandatory;padding-bottom:4px}
.shot-strip img{flex:0 0 auto;width:min(78%,420px);aspect-ratio:16/10;object-fit:cover;border-radius:12px;scroll-snap-align:start;background:var(--panel2)}
.product-sec{margin-top:12px}
.product-sec:first-child{margin-top:0}
.product-sec p{overflow-wrap:anywhere}
.check-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.check-item{display:flex;gap:10px;align-items:flex-start;line-height:1.4}
.check-mark{flex:0 0 22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-size:13px;background:var(--panel2);color:var(--muted,#aaa)}
.check-item.ok .check-mark{background:var(--ok-soft,rgba(25,158,112,.18));color:var(--ok,#199e70)}
.forecast-card .item b{font-variant-numeric:tabular-nums;white-space:nowrap}
