/* SPMC Commercial & Services v0.7.6 */
.commercial-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:18px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 10%,var(--surface)),var(--surface));margin-bottom:16px}.commercial-hero h3{margin:0 0 6px}.commercial-id-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.commercial-id{padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.commercial-id small{display:block;color:var(--muted);margin-bottom:4px}.commercial-id code{font-size:12px;overflow-wrap:anywhere}.commercial-status{display:flex;gap:8px;flex-wrap:wrap}.commercial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.commercial-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:18px;min-width:0}.commercial-card h3{margin:0 0 6px}.commercial-card p{margin:0 0 14px}.commercial-card .field,.commercial-card input,.commercial-card select{min-width:0;max-width:100%;box-sizing:border-box}.commercial-actions{display:flex;gap:8px;flex-wrap:wrap}.commercial-actions button,.commercial-actions a{box-sizing:border-box}.commercial-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.commercial-service{border:1px solid var(--border);border-radius:14px;padding:12px;background:var(--surface2)}.commercial-service strong{display:block}.commercial-service small{display:block;color:var(--muted);margin:4px 0 10px}.commercial-history-empty{padding:28px;text-align:center;border:1px dashed var(--border);border-radius:14px;color:var(--muted)}.commercial-table-wrap{overflow:auto}.commercial-table-wrap table{min-width:620px}.commercial-note{padding:12px;border-radius:12px;background:color-mix(in srgb,var(--primary) 8%,var(--surface));border:1px solid color-mix(in srgb,var(--primary) 28%,var(--border));font-size:13px}.commercial-inline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.commercial-badge{font-size:11px;padding:4px 8px;border-radius:999px;background:var(--surface2);border:1px solid var(--border)}
@media(max-width:1000px){.commercial-id-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-grid{grid-template-columns:1fr}}
@media(max-width:600px){.commercial-hero{display:block}.commercial-id-grid,.commercial-price-grid{grid-template-columns:1fr}.commercial-actions>*{width:100%}}

/* Purchased product state v0.11.19 */
.commercial-service-owned{background:color-mix(in srgb,var(--surface2) 72%,#8a8f98 28%);border-color:color-mix(in srgb,var(--border) 70%,#8a8f98 30%);filter:saturate(.35);opacity:.82}
.commercial-service-owned strong,.commercial-service-owned b{color:var(--muted)}
.commercial-badge-owned{background:color-mix(in srgb,var(--surface2) 60%,#8a8f98 40%);color:var(--muted);font-weight:700}
.commercial-owned-button{cursor:not-allowed;opacity:.7;background:color-mix(in srgb,var(--surface2) 75%,#8a8f98 25%);color:var(--muted);border-color:var(--border)}
