.commerce-page{width:min(1220px,calc(100% - 24px));margin:0 auto;padding:18px 0 72px}.commerce-hero,.commerce-panel{background:#fff;border:1px solid rgba(17,24,39,.1);border-radius:24px;box-shadow:0 18px 50px rgba(17,24,39,.055)}.commerce-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:24px;align-items:end;padding:clamp(24px,5vw,52px);margin-top:14px}.commerce-hero h1{font-size:clamp(2.6rem,7vw,5.5rem);line-height:.94;letter-spacing:-.05em;margin:.15rem 0 1rem}.commerce-business-card{display:grid;gap:10px;padding:18px;border-radius:18px;background:#f6f7f9}.commerce-business-card label,.commerce-form label{display:grid;gap:6px;font-weight:800;font-size:.9rem}.commerce-business-card select,.commerce-form input,.commerce-form select,.commerce-form textarea{width:100%;border:1px solid rgba(17,24,39,.15);border-radius:12px;background:#fff;padding:11px 12px;font:inherit;color:inherit}.commerce-link-button,.commerce-primary,.commerce-secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:11px 15px;font:inherit;font-weight:850;text-decoration:none;cursor:pointer}.commerce-link-button,.commerce-primary{border:0;background:#132238;color:#fff!important}.commerce-secondary{border:1px solid rgba(17,24,39,.16);background:#fff;color:#111827}.commerce-status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}.commerce-status-grid article{display:grid;gap:4px;padding:16px 18px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff}.commerce-status-grid span{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:#667085;font-weight:850}.commerce-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 14px;scrollbar-width:none}.commerce-tabs a{flex:0 0 auto;text-decoration:none;color:#111827;border:1px solid rgba(17,24,39,.12);border-radius:999px;padding:9px 13px;font-weight:800;font-size:.86rem;background:#fff}.commerce-panel{padding:clamp(20px,4vw,36px);margin:0 0 16px}.commerce-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.commerce-section-head h2{font-size:clamp(1.8rem,4vw,3rem);margin:.1rem 0}.commerce-section-head p{max-width:66ch}.commerce-two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.commerce-form{display:grid;gap:12px}.commerce-field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.commerce-field-row.commerce-three{grid-template-columns:repeat(3,1fr)}.commerce-toggle-row{display:flex;gap:14px;flex-wrap:wrap}.commerce-toggle-row label,.commerce-check{display:flex!important;align-items:center;gap:8px}.commerce-toggle-row input,.commerce-check input{width:auto}.commerce-details{border:1px solid rgba(17,24,39,.1);border-radius:13px;padding:12px}.commerce-details summary{font-weight:850;cursor:pointer;margin-bottom:10px}.commerce-muted,.commerce-message{color:#667085;font-size:.88rem;line-height:1.45}.commerce-message.is-error{color:#b42318}.commerce-message.is-success{color:#067647}.commerce-list{display:grid;gap:10px}.commerce-row{border:1px solid rgba(17,24,39,.1);border-radius:15px;padding:14px;display:grid;gap:8px}.commerce-row-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.commerce-row h3,.commerce-row p{margin:0}.commerce-row-meta{display:flex;gap:8px;flex-wrap:wrap;color:#667085;font-size:.78rem}.commerce-pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f2f4f7;font-size:.73rem;font-weight:800}.commerce-order-items{display:grid;gap:6px;padding-top:7px;border-top:1px solid rgba(17,24,39,.08)}.commerce-order-item{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:.86rem}.commerce-connector-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px}.commerce-connector-card{border:1px solid rgba(17,24,39,.1);border-radius:15px;padding:14px;display:grid;gap:6px}.commerce-connector-card strong{font-size:1rem}.commerce-connector-card span{font-size:.82rem;color:#667085}.commerce-connector-forms{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.commerce-connector-form{padding:16px;border-radius:16px;background:#f7f8fa;border:1px solid rgba(17,24,39,.08)}.commerce-connector-form h3,.commerce-connector-form p{margin:0}.commerce-settings-form{max-width:760px}.commerce-empty{padding:24px;text-align:center;border:1px dashed rgba(17,24,39,.18);border-radius:14px;color:#667085}@media(max-width:900px){.commerce-hero,.commerce-two-col,.commerce-connector-forms{grid-template-columns:1fr}.commerce-status-grid,.commerce-connector-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.commerce-page{width:min(100% - 14px,1220px)}.commerce-hero,.commerce-panel{border-radius:19px;padding:16px}.commerce-hero h1{font-size:clamp(2.5rem,13vw,4rem)}.commerce-status-grid{grid-template-columns:1fr 1fr;gap:7px}.commerce-status-grid article{padding:12px}.commerce-section-head{align-items:flex-start;flex-direction:column}.commerce-field-row,.commerce-field-row.commerce-three,.commerce-connector-grid{grid-template-columns:1fr}.commerce-row-head,.commerce-order-item{align-items:flex-start;flex-direction:column}}
/* Commerce V2: connected Shopify catalog */
.commerce-connected-catalog{margin:0 0 18px;padding:18px;border:1px solid rgba(17,24,39,.1);border-radius:18px;background:#fbfcfe}
.commerce-connected-catalog[hidden]{display:none!important}
.commerce-connected-catalog-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}
.commerce-connected-catalog-head h3{margin:.15rem 0 .35rem;font-size:1.45rem}
.commerce-connected-catalog-head p{margin:0;color:#667085}
.commerce-connected-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.commerce-connected-product{display:grid;gap:9px;padding:14px;border:1px solid rgba(17,24,39,.09);border-radius:14px;background:#fff;min-width:0}
.commerce-connected-product-main{display:flex;align-items:start;justify-content:space-between;gap:12px}
.commerce-connected-product-main strong{min-width:0;font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}
.commerce-connected-product-main span{flex:0 0 auto;font-size:.88rem;font-weight:900;color:#111827}
@media(max-width:920px){.commerce-connected-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.commerce-connected-catalog{padding:14px}.commerce-connected-catalog-head{align-items:flex-start;flex-direction:column}.commerce-connected-products{grid-template-columns:1fr}.commerce-connected-product-main{flex-direction:column}.commerce-connected-product-main span{font-size:1rem}}

/* Commerce V3 order desk */
.commerce-order-item-copy{display:grid;gap:4px;min-width:0}
.commerce-order-item-copy small{color:#667085}
.commerce-order-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.commerce-ship-details{min-width:min(100%,360px)}
.commerce-ship-details summary{cursor:pointer;font-weight:850;color:#344054}
.commerce-shipment-editor{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px;padding:10px;border:1px solid rgba(17,24,39,.1);border-radius:12px;background:#f8fafc}
.commerce-shipment-editor input{min-width:0;border:1px solid rgba(17,24,39,.15);border-radius:10px;padding:9px 10px;font:inherit}
.commerce-shipment-editor [data-ship-url]{grid-column:1/-1}
.commerce-shipment-editor button{grid-column:1/-1}
@media(max-width:620px){.commerce-order-item-actions{width:100%;justify-content:stretch}.commerce-order-item-actions>button,.commerce-ship-details{width:100%}.commerce-shipment-editor{grid-template-columns:1fr}.commerce-shipment-editor [data-ship-url]{grid-column:auto}.commerce-shipment-editor button{grid-column:auto}}

/* Commerce V4: dropshipping + rewards */
.commerce-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.commerce-supplier-card{height:100%}
.commerce-dropship-search{margin-bottom:16px}
.commerce-dropship-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.commerce-dropship-card{display:grid;grid-template-rows:190px 1fr;overflow:hidden;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff}
.commerce-dropship-media{display:grid;place-items:center;background:#f7f8fa;min-height:190px}
.commerce-dropship-media img{width:100%;height:100%;object-fit:contain;padding:10px}
.commerce-dropship-copy{display:grid;gap:10px;padding:14px}
.commerce-dropship-copy h3{margin:0;font-size:1rem;line-height:1.3}
.commerce-dropship-import{display:grid;grid-template-columns:1fr auto;align-items:end;gap:9px;margin-top:auto}
.commerce-dropship-import label{min-width:0}
.commerce-dropship-import input{width:100%}
.commerce-reward-balance{display:grid;justify-items:end}
.commerce-reward-balance strong{font-size:2rem;line-height:1;color:#111827}
.commerce-reward-balance span{font-size:.78rem;color:#667085;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.commerce-reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.commerce-reward-card{display:grid;gap:10px;padding:16px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff}
.commerce-reward-card h3,.commerce-reward-card p{margin:0}
.commerce-reward-history h3{margin-bottom:10px}
@media(max-width:900px){.commerce-dropship-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
  .commerce-supplier-grid,.commerce-reward-grid,.commerce-dropship-results{grid-template-columns:1fr}
  .commerce-dropship-card{grid-template-rows:220px 1fr}
  .commerce-dropship-import{grid-template-columns:1fr}
  .commerce-dropship-import button{width:100%}
  .commerce-reward-balance{justify-items:start}
}

.commerce-growth-kpis{margin:18px 0}.commerce-growth-subhead{margin-top:24px}.commerce-managed-sourcing{align-items:center}.commerce-insight-good{border-left:4px solid currentColor}.commerce-insight-review{border-left:4px solid currentColor}.commerce-insight-next{border-left:4px solid currentColor}


/* Commerce V5 owner workflow cleanup */
.commerce-product-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 16px}
.commerce-product-summary>div{display:grid;gap:2px;padding:12px 14px;border:1px solid rgba(17,24,39,.09);border-radius:14px;background:#f8fafc}
.commerce-product-summary strong{font-size:1.35rem;line-height:1;color:#132238}
.commerce-product-summary span{font-size:.76rem;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.04em}
.commerce-product-list{display:grid;gap:12px}
.commerce-product-card{display:grid;grid-template-columns:124px minmax(0,1fr);gap:14px;padding:12px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff;min-width:0}
.commerce-product-thumb{width:124px;aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#f7f8fa;color:#98a2b3;font-size:.8rem}
.commerce-product-thumb img{display:block;width:100%;height:100%;object-fit:contain;box-sizing:border-box;padding:6px}
.commerce-product-copy{display:grid;align-content:start;gap:9px;min-width:0}
.commerce-product-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.commerce-product-title-row>div{min-width:0}
.commerce-product-title-row h3{margin:0;font-size:1rem;line-height:1.25;overflow-wrap:anywhere}
.commerce-product-description{margin:0;color:#475467;font-size:.88rem;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.commerce-product-note{margin:0;padding:8px 10px;border-radius:10px;background:#f8fafc;color:#667085;font-size:.78rem;line-height:1.4}
.commerce-product-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.commerce-product-actions .commerce-primary,.commerce-product-actions .commerce-secondary,.commerce-product-actions .commerce-link-button{min-height:40px;padding:9px 12px;font-size:.82rem}
.commerce-quiet-button{border:0;background:transparent;color:#667085;font:inherit;font-size:.8rem;font-weight:800;padding:9px 4px;cursor:pointer}
.commerce-product-status-live{background:#ecfdf3;color:#067647}
.commerce-product-status-draft{background:#f2f4f7;color:#344054}

.commerce-owner-add,.commerce-setup-details{margin-top:18px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fbfcfe;overflow:hidden}
.commerce-owner-add>summary,.commerce-setup-details>summary{list-style:none;cursor:pointer;padding:15px 16px;font-weight:900;color:#132238;display:flex;align-items:center;justify-content:space-between;gap:10px}
.commerce-owner-add>summary::-webkit-details-marker,.commerce-setup-details>summary::-webkit-details-marker{display:none}
.commerce-owner-add>summary::after,.commerce-setup-details>summary::after{content:"+";font-size:1.25rem;line-height:1;color:#667085}
.commerce-owner-add[open]>summary::after,.commerce-setup-details[open]>summary::after{content:"–"}
.commerce-owner-add-body,.commerce-setup-body{padding:0 16px 16px}
.commerce-owner-add-body>.commerce-muted{margin-top:0}
.commerce-setup-body>.commerce-form{max-width:none}

.commerce-dropship-card{grid-template-rows:190px minmax(0,1fr)}
.commerce-dropship-media{overflow:hidden;min-width:0}
.commerce-dropship-media img{display:block;width:100%;height:100%;box-sizing:border-box;object-fit:contain;padding:10px}
.commerce-dropship-copy{min-width:0}
.commerce-dropship-copy .commerce-product-title-row h3{font-size:1rem;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.commerce-dropship-help{margin:0;color:#667085;font-size:.76rem;line-height:1.4}
.commerce-dropship-import button:disabled{opacity:.58;cursor:not-allowed}

@media(max-width:680px){
  .commerce-product-summary{gap:7px}
  .commerce-product-summary>div{padding:10px}
  .commerce-product-summary strong{font-size:1.15rem}
  .commerce-product-card{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:10px}
  .commerce-product-thumb{width:92px}
  .commerce-product-title-row{gap:7px}
  .commerce-product-title-row h3{font-size:.95rem}
  .commerce-product-description{-webkit-line-clamp:2;font-size:.82rem}
  .commerce-product-actions{grid-column:1/-1}
  .commerce-product-actions .commerce-primary,.commerce-product-actions .commerce-secondary,.commerce-product-actions .commerce-link-button{flex:1 1 150px;text-align:center}
  .commerce-dropship-card{grid-template-rows:180px minmax(0,1fr)}
  .commerce-dropship-copy{padding:12px}
  .commerce-dropship-copy .commerce-product-title-row{display:block}
  .commerce-dropship-copy .commerce-product-title-row .commerce-pill{margin-top:8px}
  .commerce-owner-add>summary,.commerce-setup-details>summary{padding:14px}
  .commerce-owner-add-body,.commerce-setup-body{padding:0 14px 14px}
}


/* Commerce V6 launch clarity */
.commerce-store-explainer{margin-top:6px;padding:12px 14px;border:1px solid rgba(17,24,39,.09);border-radius:14px;background:#fff}
.commerce-store-explainer strong{display:block;margin-bottom:4px;color:#132238}
.commerce-store-explainer p{margin:0;color:#667085;font-size:.82rem;line-height:1.45}
.commerce-product-summary>button{appearance:none;text-align:left;border:1px solid rgba(17,24,39,.09);border-radius:14px;background:#f8fafc;padding:12px 14px;cursor:pointer;color:inherit}
.commerce-product-summary>button.is-active{background:#fff;box-shadow:0 0 0 2px #132238 inset}
.commerce-product-summary>button strong,.commerce-product-summary>button span{display:block}
.commerce-image-picker{display:grid;gap:10px}
.commerce-field-label{font-weight:900;color:#132238}
.commerce-image-picker-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:12px;align-items:center}
.commerce-image-upload-button{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border:1px solid rgba(17,24,39,.18);border-radius:12px;background:#fff;font-weight:900;cursor:pointer}
.commerce-image-upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.commerce-image-preview{width:112px;height:112px;display:grid;place-items:center;overflow:hidden;border:1px dashed rgba(17,24,39,.2);border-radius:12px;background:#f8fafc;color:#98a2b3;font-size:.72rem;text-align:center}
.commerce-image-preview img{width:100%;height:100%;object-fit:contain;display:block}
.commerce-image-url-details{margin-top:0}
.commerce-form-actions{display:flex;gap:10px;flex-wrap:wrap}
.commerce-form-actions>button{flex:1 1 180px}
.commerce-load-more{display:block;margin:16px auto 0;min-width:220px}
.commerce-load-more[hidden]{display:none!important}
@media(max-width:680px){
  .commerce-image-picker-row{grid-template-columns:minmax(0,1fr) 92px}
  .commerce-image-preview{width:92px;height:92px}
  .commerce-store-explainer{padding:11px 12px}
}


/* Commerce V7: deeper merchandise discovery */
.commerce-catalog-explorer{display:grid;gap:12px;margin:14px 0 16px;padding:14px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fbfcfe}
.commerce-catalog-explorer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.commerce-catalog-explorer-head>div{display:grid;gap:3px;min-width:0}
.commerce-catalog-explorer-head strong{font-size:1rem;color:#132238}
.commerce-catalog-explorer-head span:not(.commerce-pill){font-size:.8rem;line-height:1.4;color:#667085}
.commerce-category-chips{display:flex;gap:8px;overflow:auto;padding-bottom:2px;scrollbar-width:none}
.commerce-category-chips::-webkit-scrollbar{display:none}
.commerce-category-chips button{flex:0 0 auto;border:1px solid rgba(17,24,39,.12);border-radius:999px;background:#fff;padding:9px 12px;font:inherit;font-size:.82rem;font-weight:850;color:#344054;cursor:pointer}
.commerce-category-chips button.is-active{background:#132238;color:#fff;border-color:#132238}
@media(max-width:680px){
  .commerce-catalog-explorer{padding:12px}
  .commerce-catalog-explorer-head{flex-direction:column}
  .commerce-catalog-explorer-head .commerce-pill{align-self:flex-start}
}

.commerce-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 18px}
.commerce-channel-card{border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff;padding:16px;display:grid;gap:10px}
.commerce-channel-card p,.commerce-channel-card small{margin:0;color:#667085;line-height:1.45}
.commerce-channel-actions,.commerce-share-grid{display:flex;gap:8px;flex-wrap:wrap}
.commerce-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 4px}
.commerce-pagination button{min-width:42px;border:1px solid rgba(17,24,39,.14);background:#fff;border-radius:999px;padding:9px 13px;font:inherit;font-weight:850;cursor:pointer}
.commerce-pagination button.is-active{background:#132238;color:#fff;border-color:#132238}
.commerce-pagination button:disabled{opacity:.4;cursor:not-allowed}
.commerce-channel-dialog{width:min(720px,calc(100% - 24px));max-height:90vh;overflow:auto;border:0;border-radius:22px;padding:20px;box-shadow:0 28px 90px rgba(15,23,42,.24)}
.commerce-channel-dialog::backdrop{background:rgba(15,23,42,.54)}
.commerce-share-grid>*{flex:1 1 130px;text-align:center;text-decoration:none}
@media(max-width:680px){.commerce-channel-grid{grid-template-columns:1fr}.commerce-channel-dialog{padding:14px}}


/* Commerce V8: AI Quick List */
.commerce-quick-list{display:grid;gap:12px;margin:0 0 16px;padding:14px;border:1px solid rgba(17,24,39,.1);border-radius:16px;background:#fff}
.commerce-quick-list h3{margin:2px 0 0}
.commerce-quick-list-controls{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:12px;align-items:end}
.commerce-quick-list-controls label{display:grid;gap:6px}
.commerce-quick-list-photos{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.commerce-quick-list-photo{position:relative;flex:0 0 92px;width:92px;height:92px;border:1px solid rgba(17,24,39,.12);border-radius:12px;overflow:hidden;background:#f8fafc}
.commerce-quick-list-photo img{width:100%;height:100%;object-fit:contain;display:block}
.commerce-quick-list-photo button{position:absolute;top:5px;right:5px;width:26px;height:26px;border:0;border-radius:999px;background:rgba(17,24,39,.82);color:#fff;font-size:18px;line-height:1;cursor:pointer}
@media(max-width:680px){
  .commerce-quick-list{padding:12px}
  .commerce-quick-list-controls{grid-template-columns:1fr}
  .commerce-quick-list .commerce-row-head{align-items:flex-start}
}


/* Commerce V11: compact owner catalog + mobile density */
.commerce-page{box-sizing:border-box;max-width:1220px;width:calc(100% - 24px);overflow-x:clip}
.commerce-product-list{gap:9px}
.commerce-product-card{grid-template-columns:92px minmax(0,1fr);gap:11px;padding:10px 11px;border-radius:15px}
.commerce-product-thumb{width:92px;border-radius:11px}
.commerce-product-copy{gap:7px}
.commerce-product-title-row h3{font-size:.96rem;line-height:1.22}
.commerce-product-description{-webkit-line-clamp:1;font-size:.8rem}
.commerce-product-note{font-size:.74rem;padding:7px 9px}
.commerce-product-actions{gap:7px;margin-top:2px}
.commerce-product-actions .commerce-primary,
.commerce-product-actions .commerce-secondary,
.commerce-product-actions .commerce-link-button{min-height:36px;padding:8px 11px;font-size:.79rem;flex:0 0 auto}
.commerce-product-manage{position:relative}
.commerce-product-manage>summary{list-style:none;min-height:36px;padding:8px 11px;border:1px solid rgba(17,24,39,.14);border-radius:10px;background:#fff;font-size:.79rem;font-weight:850;cursor:pointer}
.commerce-product-manage>summary::-webkit-details-marker{display:none}
.commerce-product-manage>summary::after{content:" ···";color:#667085}
.commerce-product-manage-menu{position:absolute;z-index:8;right:0;top:calc(100% + 6px);width:min(230px,78vw);display:grid;gap:6px;padding:8px;border:1px solid rgba(17,24,39,.12);border-radius:13px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16)}
.commerce-product-manage-menu .commerce-secondary,
.commerce-product-manage-menu .commerce-quiet-button{width:100%;justify-content:flex-start;text-align:left;padding:9px 10px;border-radius:9px}
.commerce-danger-button{color:#b42318}
.commerce-pagination{margin:14px 0 2px;gap:6px}
.commerce-pagination button{min-width:38px;padding:8px 11px}

/* Supplier browsing shows ten compact cards per visible page. */
.commerce-dropship-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.commerce-dropship-card{grid-template-columns:116px minmax(0,1fr);grid-template-rows:none;min-height:168px}
.commerce-dropship-media{min-height:0;height:100%;background:#f8fafc}
.commerce-dropship-media img{padding:7px}
.commerce-dropship-copy{padding:11px;gap:7px}
.commerce-dropship-copy .commerce-product-title-row h3{font-size:.92rem;-webkit-line-clamp:2}
.commerce-dropship-copy .commerce-row-meta{gap:5px;font-size:.72rem}
.commerce-dropship-import{grid-template-columns:minmax(0,1fr) auto;gap:7px}
.commerce-dropship-import label{font-size:.75rem}
.commerce-dropship-import input{padding:8px 9px}
.commerce-dropship-import .commerce-primary{padding:8px 11px;min-height:36px;font-size:.78rem}
.commerce-dropship-help{display:none}

/* Share sheet */
.commerce-channel-dialog#commerce-share-dialog{width:min(560px,calc(100% - 22px));padding:0;overflow:visible}
.commerce-share-sheet{display:grid;gap:14px;padding:18px}
.commerce-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.commerce-share-product{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:center;min-width:0}
.commerce-share-product img,.commerce-share-fallback{width:68px;height:68px;border-radius:12px;object-fit:contain;background:#f6f7f9;border:1px solid rgba(17,24,39,.08)}
.commerce-share-fallback{display:grid;place-items:center;font-weight:900;color:#667085}
.commerce-share-product .eyebrow{margin-bottom:4px}
.commerce-share-product h2{font-size:1.05rem;line-height:1.2;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.commerce-share-product strong{font-size:.9rem}
.commerce-share-close{width:34px;height:34px;border:1px solid rgba(17,24,39,.12);border-radius:999px;background:#fff;font:inherit;font-size:1.25rem;line-height:1;cursor:pointer}
.commerce-share-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.commerce-share-action{min-height:42px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(17,24,39,.12);border-radius:11px;background:#fff;color:#132238;font:inherit;font-size:.8rem;font-weight:850;text-align:center;text-decoration:none;cursor:pointer}
.commerce-share-copy{background:#132238;color:#fff;grid-column:span 3}

@media(max-width:900px){
  .commerce-dropship-results{grid-template-columns:1fr}
}
@media(max-width:680px){
  .commerce-page{width:calc(100% - 12px)}
  .commerce-hero,.commerce-panel{padding:14px;border-radius:17px}
  .commerce-section-head{gap:10px;margin-bottom:14px}
  .commerce-section-head h2{font-size:1.75rem}
  .commerce-product-summary{margin:10px 0 12px}
  .commerce-product-card{grid-template-columns:76px minmax(0,1fr);padding:9px;gap:9px}
  .commerce-product-thumb{width:76px}
  .commerce-product-title-row{flex-direction:row;align-items:flex-start}
  .commerce-product-title-row h3{font-size:.88rem}
  .commerce-product-description{display:none}
  .commerce-product-copy>.commerce-row-meta{font-size:.69rem;gap:5px}
  .commerce-product-note{font-size:.7rem}
  .commerce-product-actions{grid-column:auto}
  .commerce-product-actions .commerce-primary,
  .commerce-product-actions .commerce-secondary,
  .commerce-product-actions .commerce-link-button{flex:0 0 auto;min-height:34px;padding:7px 9px}
  .commerce-product-manage>summary{min-height:34px;padding:7px 9px}
  .commerce-product-manage-menu{right:auto;left:0}
  .commerce-dropship-card{grid-template-columns:92px minmax(0,1fr);min-height:144px}
  .commerce-dropship-copy{padding:9px}
  .commerce-dropship-copy .commerce-product-title-row{display:flex}
  .commerce-dropship-copy .commerce-product-title-row h3{font-size:.84rem}
  .commerce-dropship-copy .commerce-row-meta{font-size:.67rem}
  .commerce-dropship-import{grid-template-columns:1fr}
  .commerce-dropship-import .commerce-primary{width:100%}
  .commerce-share-sheet{padding:14px}
  .commerce-share-product{grid-template-columns:54px minmax(0,1fr);gap:9px}
  .commerce-share-product img,.commerce-share-fallback{width:54px;height:54px}
  .commerce-share-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .commerce-share-copy{grid-column:span 2}
}

.commerce-reward-history{margin-top:6px;border:1px solid rgba(17,24,39,.1);border-radius:14px;background:#fbfcfe;padding:0 14px}
.commerce-reward-history>summary{cursor:pointer;list-style:none;padding:13px 0;font-weight:900;color:#132238}
.commerce-reward-history>summary::-webkit-details-marker{display:none}
.commerce-reward-history>summary::after{content:"+";float:right;color:#667085}
.commerce-reward-history[open]>summary::after{content:"–"}
.commerce-reward-history #commerce-reward-events{padding:0 0 14px;gap:7px}
.commerce-reward-history #commerce-reward-events .commerce-row{padding:10px 11px}


/* Commerce V12: compact rewards */
#rewards .commerce-section-head{align-items:flex-start}
#rewards .commerce-section-head h2{max-width:22ch}
.commerce-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
.commerce-reward-card{min-width:0;overflow:hidden;gap:8px;padding:13px;border-radius:14px}
.commerce-reward-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.commerce-reward-card-head h3{min-width:0;font-size:1rem;line-height:1.2}
.commerce-reward-card-head .commerce-pill{flex:0 0 auto}
.commerce-reward-card>p{font-size:.8rem;line-height:1.4;color:#667085}
.commerce-reward-product{display:grid;gap:5px;min-width:0;font-size:.78rem;font-weight:850}
.commerce-reward-product select{width:100%;max-width:100%;min-width:0;border:1px solid rgba(17,24,39,.15);border-radius:10px;background:#fff;padding:9px 10px;font:inherit;color:#111827}
.commerce-reward-action{width:100%;min-height:38px;padding:8px 10px}
.commerce-future-rewards{grid-column:1/-1;border:1px solid rgba(17,24,39,.1);border-radius:14px;background:#fbfcfe;padding:0 13px;overflow:hidden}
.commerce-future-rewards>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;font-weight:900;color:#132238}
.commerce-future-rewards>summary::-webkit-details-marker{display:none}
.commerce-future-rewards>summary span{min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#eef1f5;display:grid;place-items:center;font-size:.74rem}
.commerce-future-rewards>div{display:grid;gap:7px;padding:0 0 12px}
.commerce-future-reward{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid rgba(17,24,39,.08);border-radius:11px;background:#fff;min-width:0}
.commerce-future-reward>div{display:grid;gap:2px;min-width:0}
.commerce-future-reward strong{font-size:.84rem;line-height:1.2}
.commerce-future-reward small{font-size:.7rem;color:#667085}
.commerce-future-reward>span{flex:0 0 auto;font-size:.7rem;font-weight:850;color:#667085}
@media(max-width:680px){
  #rewards .commerce-section-head h2{font-size:1.5rem;line-height:1.08}
  #rewards .commerce-section-head p{font-size:.86rem;line-height:1.45}
  .commerce-reward-grid{grid-template-columns:1fr}
  .commerce-reward-card{padding:11px}
  .commerce-reward-card-head h3{font-size:.92rem}
  .commerce-reward-card>p{font-size:.76rem}
  .commerce-reward-balance strong{font-size:1.65rem}
  .commerce-future-reward{padding:8px 9px}
}


/* Commerce V12b: compact product rows */
.commerce-product-title-row h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.commerce-product-info{border-top:1px solid rgba(17,24,39,.08);padding-top:7px}
.commerce-product-info>summary{list-style:none;cursor:pointer;width:max-content;max-width:100%;font-size:.75rem;font-weight:850;color:#667085}
.commerce-product-info>summary::-webkit-details-marker{display:none}
.commerce-product-info>summary::after{content:" +";font-weight:900}
.commerce-product-info[open]>summary::after{content:" –"}
.commerce-product-info-body{display:grid;gap:7px;padding-top:8px}
.commerce-product-info-body .commerce-row-meta{font-size:.72rem}
@media(max-width:680px){
  .commerce-product-title-row h3{-webkit-line-clamp:3}
  .commerce-product-info{padding-top:5px}
  .commerce-product-info>summary{font-size:.7rem}
  .commerce-product-info-body .commerce-row-meta{font-size:.68rem}
}


/* Commerce V18: conversational Store AI + live storefront preview */
.commerce-store-ai-panel{overflow:hidden}
.commerce-store-ai-workspace{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:16px;align-items:stretch}
.commerce-store-ai-chat{min-width:0;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid rgba(17,24,39,.1);border-radius:18px;background:#f8fafc}
.commerce-ai-trust{padding:10px 11px;border:1px solid #d7e3f5;border-radius:12px;background:#eef5ff;color:#284467;font-size:.75rem;font-weight:800;line-height:1.4}
.commerce-ai-log{min-height:150px;max-height:300px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:4px;scrollbar-width:thin}
.commerce-ai-bubble{max-width:92%;padding:10px 12px;border-radius:14px;font-size:.84rem;line-height:1.45;overflow-wrap:anywhere}
.commerce-ai-bubble.is-assistant{align-self:flex-start;border:1px solid rgba(17,24,39,.1);background:#fff;color:#1f2937;border-bottom-left-radius:5px}
.commerce-ai-bubble.is-user{align-self:flex-end;background:#132238;color:#fff;border-bottom-right-radius:5px}
.commerce-ai-chips{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:1px}
.commerce-ai-chips::-webkit-scrollbar{display:none}
.commerce-ai-chips button{appearance:none;flex:0 0 auto;min-height:34px;padding:0 11px;border:1px solid rgba(17,24,39,.14);border-radius:999px;background:#fff;color:#263244;font-size:.72rem;font-weight:850;cursor:pointer}
.commerce-ai-chips button:hover{border-color:#7182a3;background:#f0f4fa}
.commerce-ai-composer{margin-top:auto}
.commerce-ai-composer textarea{min-height:82px}
.commerce-store-live{min-width:0;min-height:560px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(17,24,39,.12);border-radius:18px;background:#e7ebf0}
.commerce-store-live-head{flex:0 0 auto;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:#fff;border-bottom:1px solid rgba(17,24,39,.1)}
.commerce-store-live-head>div{display:grid;gap:1px}
.commerce-store-live-head strong{font-size:.82rem}
.commerce-store-live-head span{font-size:.7rem;color:#667085}
.commerce-store-live-head a{font-size:.72rem;font-weight:850;color:#132238;text-decoration:none}
#commerce-store-live-frame{display:block;flex:1 1 auto;width:100%;min-height:510px;border:0;background:#fff}
@media(max-width:860px){
  .commerce-store-ai-workspace{grid-template-columns:1fr}
  .commerce-store-live{min-height:520px}
  #commerce-store-live-frame{min-height:470px}
}
@media(max-width:680px){
  .commerce-store-ai-panel{padding:14px}
  .commerce-store-ai-chat{padding:10px;border-radius:14px}
  .commerce-ai-log{min-height:120px;max-height:230px}
  .commerce-store-live{min-height:500px;border-radius:14px}
  #commerce-store-live-frame{min-height:450px}
  .commerce-store-live-head{padding:7px 10px}
}


/* Commerce V9: compact expandable order desk */
.commerce-order-card{padding:0;overflow:hidden}
.commerce-order-card>summary{list-style:none;cursor:pointer}
.commerce-order-card>summary::-webkit-details-marker{display:none}
.commerce-order-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 15px}
.commerce-order-summary-main{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
.commerce-order-summary-main>div{min-width:0}
.commerce-order-summary-main h3{margin:0 0 5px}
.commerce-order-summary-main strong{flex:0 0 auto;font-size:1rem}
.commerce-order-expand{align-self:center;padding:7px 10px;border:1px solid rgba(17,24,39,.12);border-radius:999px;background:#f8fafc;color:#475467;font-size:.74rem;font-weight:850}
.commerce-order-card[open] .commerce-order-expand::before{content:"Hide";font-size:0}
.commerce-order-card[open] .commerce-order-expand{font-size:0}
.commerce-order-card[open] .commerce-order-expand::after{content:"Hide";font-size:.74rem}
.commerce-order-body{padding:0 15px 15px;border-top:1px solid rgba(17,24,39,.08)}
.commerce-order-body .commerce-order-items{padding-top:12px;border-top:0}
.commerce-order-legacy-note{padding:12px 0 2px;color:#667085;font-size:.82rem;line-height:1.45}
@media(max-width:620px){
  .commerce-order-summary{padding:12px;align-items:start}
  .commerce-order-summary-main{display:grid;gap:8px}
  .commerce-order-summary-main strong{font-size:1.05rem}
  .commerce-order-expand{padding:6px 9px}
  .commerce-order-body{padding:0 12px 12px}
}

/* Owner dashboard polish V21: same data and actions, clearer hierarchy. */
.commerce-hero{padding:clamp(22px,3vw,34px);align-items:center;grid-template-columns:minmax(0,1fr) minmax(270px,.65fr)}
.commerce-hero h1{font-size:clamp(2.1rem,4.5vw,3.7rem);line-height:1.02;max-width:12ch}
.commerce-business-card{background:#f7f9fc;border:1px solid #e7ebf2;padding:16px}
.commerce-store-explainer{border-top:1px solid #e1e6ed;padding-top:10px}
.commerce-store-explainer p{font-size:.8rem;line-height:1.5}
.commerce-plan-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;font-size:.82rem;font-weight:800}
.commerce-plan-actions a{color:#173454}
.commerce-panel{padding:clamp(18px,2.8vw,25px)}
.commerce-section-head h2{font-size:clamp(1.45rem,2.4vw,2rem)}
.commerce-status-grid{margin:12px 0}
.commerce-status-grid article{padding:13px 15px;box-shadow:0 4px 12px rgba(15,23,42,.025)}
.commerce-tabs{margin-bottom:4px;position:sticky;top:0;z-index:5;background:#f6f8fb;padding:10px 0}
.commerce-tabs a{border-radius:11px}
.commerce-order-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 9px;color:#667085;font-size:.8rem;font-weight:800}
.commerce-order-tools .commerce-secondary{min-height:34px;padding:6px 12px;font-size:.78rem}
.commerce-orders-compact{gap:6px}
.commerce-orders-compact .commerce-order-card{padding:0;border-radius:12px;overflow:hidden;background:#fff}
.commerce-orders-compact .commerce-order-summary{padding:10px 13px;min-height:54px;display:flex;align-items:center;gap:8px}
.commerce-orders-compact .commerce-order-summary h3{font-size:.9rem;white-space:nowrap}
.commerce-orders-compact .commerce-order-summary-main{min-width:0;flex:1}
.commerce-orders-compact .commerce-order-summary-main>div{min-width:0}
.commerce-orders-compact .commerce-order-summary-main strong{font-size:.9rem}
.commerce-orders-compact .commerce-row-meta{font-size:.68rem;gap:5px;align-items:center}
.commerce-orders-compact .commerce-row-meta span:not(.commerce-pill){max-width:155px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.commerce-orders-compact .commerce-order-body{padding:13px;border-top:1px solid #e7ebf2}
.commerce-orders-compact .commerce-order-expand{font-size:.73rem;white-space:nowrap}
.commerce-store-ai-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(250px,.75fr);gap:14px}
.commerce-store-live{order:0;min-width:0}
.commerce-ai-editor{order:1;min-width:0;align-self:start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}
.commerce-ai-editor>summary{padding:14px 16px;cursor:pointer;font-weight:850;font-size:.9rem;list-style:none;display:flex;justify-content:space-between;gap:8px}
.commerce-ai-editor>summary span{font-size:.73rem;color:#667085;font-weight:600}
.commerce-ai-editor>summary::-webkit-details-marker{display:none}
.commerce-ai-editor .commerce-store-ai-chat{padding:11px}
.commerce-store-ai-panel .commerce-store-live iframe{min-height:400px}
.commerce-channel-card[hidden]{display:none!important}
@media(max-width:900px){
 .commerce-store-ai-workspace{grid-template-columns:1fr}
 .commerce-ai-editor{order:1}
 .commerce-store-live{order:0}
}
@media(max-width:560px){
 .commerce-hero{grid-template-columns:1fr;padding:18px}
 .commerce-hero h1{font-size:2.35rem}
 .commerce-section-head h2{font-size:1.5rem}
 .commerce-orders-compact .commerce-order-summary{padding:9px 10px;min-height:56px}
 .commerce-orders-compact .commerce-row-meta span:nth-child(n+3){display:none}
 .commerce-orders-compact .commerce-order-expand{font-size:.7rem}
 .commerce-store-ai-panel .commerce-store-live iframe{min-height:360px}
}


/* Commerce mobile focus: one actionable area, not nine long stacked sections. */
@media (max-width: 760px) {
  body.commerce-mobile-focus .commerce-page > .commerce-panel { display:none; }
  body.commerce-mobile-focus .commerce-page > .commerce-panel.commerce-section-active { display:block; }
  .commerce-page .commerce-hero { display:grid;grid-template-columns:1fr;gap:9px;padding:13px 15px;margin-top:8px; }
  .commerce-page .commerce-hero h1 { font-size:clamp(1.6rem,6vw,2.1rem);line-height:1.05;margin:0 0 4px; }
  .commerce-page .commerce-hero .lede { font-size:.79rem;line-height:1.4;margin:0; }
  .commerce-page .commerce-business-card { padding:10px;gap:6px; }
  .commerce-page .commerce-store-explainer { display:none; }
  .commerce-page .commerce-status-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0; }
  .commerce-page .commerce-status-grid article { padding:9px 11px;min-width:0; }
  .commerce-page .commerce-status-grid article span { font-size:.65rem; }
  .commerce-page .commerce-status-grid article strong { font-size:.78rem;overflow-wrap:anywhere; }
  .commerce-page .commerce-tabs { position:sticky;top:94px;z-index:12;background:#f6f8fb;gap:6px;padding:9px 0;margin:0 0 9px;scroll-padding-inline:12px; }
  .commerce-page .commerce-tabs a { padding:9px 11px;border-radius:12px;white-space:nowrap;font-size:.78rem; }
  .commerce-page .commerce-tabs a.is-active { color:#fff;background:#132238;border-color:#132238; }
  .commerce-page .commerce-panel { padding:13px 12px; }
  .commerce-page .commerce-section-head h2 { font-size:1.38rem; }
  .commerce-page .commerce-section-head p { font-size:.8rem;line-height:1.4; }
  .commerce-page .commerce-catalog-explorer { min-width:0; }
  .commerce-page .commerce-category-chips { display:flex;overflow-x:auto;flex-wrap:nowrap;gap:7px;scrollbar-width:none; }
  .commerce-page .commerce-category-chips button { flex:0 0 auto; }
  .commerce-page .commerce-field-note { font-size:.73rem;line-height:1.35; }
  .commerce-page .commerce-field-row { gap:9px; }
  .commerce-page .commerce-products-list { min-width:0; }
  .commerce-page .commerce-product-list { gap:8px; }
  .commerce-page .commerce-product-card { grid-template-columns:72px minmax(0,1fr);padding:9px;gap:9px; }
  .commerce-page .commerce-product-thumb { width:72px; }
  .commerce-page .commerce-product-title-row { flex-wrap:wrap;gap:5px; }
  .commerce-page .commerce-product-actions { flex-wrap:wrap; }
  .commerce-page .commerce-product-manage-menu { position:static;width:100%;box-shadow:none;margin-top:6px; }
  .commerce-page .commerce-dropship-card { grid-template-columns:84px minmax(0,1fr); }
  .commerce-page .commerce-dropship-copy { padding:9px;gap:6px; }
  .commerce-page .commerce-dropship-copy h3 { line-height:1.22; }
  .commerce-page .commerce-dropship-media { min-width:0; }
  .commerce-page .commerce-dropship-import input { min-height:35px; }
  .commerce-page .commerce-dropship-import button { min-height:38px; }
}
.commerce-draft-editor { grid-column:1/-1;background:#f8fafc;border:1px solid #dce4ed;border-radius:11px;padding:0 9px;min-width:0; }
.commerce-draft-editor>summary { padding:10px 1px;cursor:pointer;font-size:.79rem;font-weight:850; }
.commerce-draft-editor-body { display:grid;gap:9px;padding:0 1px 12px; }
.commerce-draft-editor-body label { display:grid;gap:5px;font-size:.75rem;font-weight:800; }
.commerce-draft-editor-body input { min-height:39px;width:100%;max-width:240px;border:1px solid #cbd5e1;border-radius:10px;padding:8px;background:#fff;color:#132238;font:inherit; }
.commerce-draft-editor-body .commerce-primary { justify-self:start;min-height:37px; }
.commerce-draft-editor-body .commerce-message { font-size:.76rem; }
.commerce-image-unavailable { font-size:.7rem;line-height:1.3;color:#667085;text-align:center;padding:8px; }
@media(prefers-reduced-motion:reduce){.commerce-draft-editor,.commerce-page .commerce-tabs a{scroll-behavior:auto;}}

/* Compact customer-launch clarity. Sourcing and active checkout are separate. */
.commerce-launch-readiness{margin:14px 0 22px;border:1px solid #c8d6e7;border-radius:15px;background:#f9fbfe}
.commerce-launch-readiness>summary{cursor:pointer;padding:14px 16px;font-weight:800;color:#153758}
.commerce-launch-readiness>summary span{font-size:.83rem;font-weight:750;margin-left:9px;color:#52677e}
.commerce-launch-readiness .commerce-setup-body{padding:5px 16px 18px}
.commerce-launch-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.commerce-launch-columns h3{font-size:.95rem;margin:10px 0}
.commerce-launch-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.commerce-launch-line{display:grid;grid-template-columns:21px minmax(0,1fr);gap:9px;background:#fff;border:1px solid #d5e0eb;border-radius:11px;padding:11px 12px}
.commerce-launch-dot{display:grid;place-items:center;width:18px;height:18px;font-weight:850;border:1px solid #adc0d1;border-radius:50%;color:#52677e;font-size:14px}
.commerce-launch-dot.is-ready{border-color:#407a62;color:#24664d}
.commerce-launch-line strong{font-size:.84rem;color:#182f4a}
.commerce-launch-line p{font-size:.78rem;line-height:1.45;color:#556779;margin:3px 0}
.commerce-launch-line a{font-size:.78rem;font-weight:750;color:#165da1;text-decoration:underline}
@media(max-width:720px){.commerce-launch-columns{grid-template-columns:1fr;gap:10px}
.commerce-launch-readiness>summary{padding:13px;font-size:.88rem}
.commerce-launch-readiness .commerce-setup-body{padding:4px 12px 14px}}

/* Draft supplier products are editable, never an implied paid customer offer. */
.commerce-publish-hold{background:#fff4df;color:#785020;border:1px solid #f1d4a0;max-width:100%;white-space:normal;font-weight:700;font-size:.75rem}
.commerce-draft-option-previews{display:grid;gap:6px;padding:10px;border:1px solid #dce7f3;border-radius:10px;background:#f7fafc;max-height:260px;overflow:auto}
.commerce-draft-option-previews>strong{font-size:.8rem;color:#264a70}
.commerce-draft-option-row{display:flex;gap:10px;align-items:center;min-width:0;font-size:.8rem}
.commerce-draft-option-row img{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border:1px solid #dae5ef;border-radius:7px}
.commerce-draft-option-row span{min-width:0;overflow-wrap:anywhere}
@media(max-width:620px){.commerce-publish-hold{width:100%}.commerce-draft-option-row img{width:48px;height:48px;flex-basis:48px}}


/* Commerce / product sourcing: consistent review cards and controls. */
.commerce-connected-products,.commerce-connector-grid,.commerce-status-grid{align-items:stretch}
.commerce-connected-product,.commerce-connector-card,
.commerce-status-grid article,.commerce-business-card{border-radius:12px;min-width:0}
.commerce-connected-product-main strong{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;min-height:2.6em;line-height:1.3;
}
.commerce-link-button,.commerce-primary,.commerce-secondary{
  min-height:44px;border-radius:12px;padding:10px 16px;font-weight:700;
  transition:opacity .2s ease,background-color .2s ease,border-color .2s ease;
}
.commerce-link-button:not(:disabled):hover,
.commerce-primary:not(:disabled):hover,
.commerce-secondary:not(:disabled):hover{opacity:.9}
.commerce-page :is(input,select,textarea):not([type=checkbox]):not([type=radio]){
  min-width:0;border-radius:12px;
}
.commerce-page :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid #397fc2;outline-offset:2px;
}
@media(prefers-reduced-motion:reduce){
 .commerce-link-button,.commerce-primary,.commerce-secondary{transition:none}
}

/* Product sourcing: reserve comfortable controls, never touch supplier logic. */
.commerce-page :is(.commerce-connected-product,.commerce-connector-card,.commerce-business-card){
 min-width:0;box-shadow:0 10px 26px rgba(18,47,79,.04);
}
.commerce-connected-product-main strong{letter-spacing:-.017em}
.commerce-page :is(.commerce-link-button,.commerce-primary,.commerce-secondary){
 touch-action:manipulation;
 transition:transform .16s ease,background-color .2s ease,border-color .2s ease,opacity .2s ease;
}
.commerce-page :is(.commerce-link-button,.commerce-primary,.commerce-secondary):not(:disabled):active{transform:scale(.985)}
.commerce-page :is(.commerce-connector-grid,.commerce-connected-products,.commerce-status-grid){min-width:0}
@media(prefers-reduced-motion:reduce){
 .commerce-page :is(.commerce-link-button,.commerce-primary,.commerce-secondary){transition:none}
 .commerce-page :is(.commerce-link-button,.commerce-primary,.commerce-secondary):active{transform:none}
}

/* Commerce product-opportunity research: concise, optional and clear about evidence. */
.commerce-trend-discovery{margin:14px 0 20px;border:1px solid #bdd8ea;border-radius:15px;background:#f5f9fe;overflow:hidden;min-width:0}
.commerce-trend-discovery>summary{cursor:pointer;list-style-position:inside;padding:15px 17px;min-height:50px;color:#1b405c}
.commerce-trend-discovery>summary span{display:inline-grid;gap:2px;vertical-align:middle}
.commerce-trend-discovery>summary strong{font-size:15px}
.commerce-trend-discovery>summary small{font-size:12px;color:#526b84;font-weight:500}
.commerce-trend-discovery>summary:focus-visible{outline:3px solid #3889dd;outline-offset:-3px}
.commerce-trend-body{border-top:1px solid #d5e5f2;padding:14px 17px 17px}
.commerce-trend-body>p:first-child{font-size:13px;line-height:1.5;color:#304b61;margin:0 0 12px}
.commerce-trend-ideas{display:flex;flex-wrap:wrap;gap:8px}
.commerce-trend-ideas button{appearance:none;border:1px solid #bed2e4;background:#fff;color:#174363;padding:9px 12px;min-height:46px;border-radius:12px;text-align:left;font:inherit;font-weight:800;font-size:13px;cursor:pointer}
.commerce-trend-ideas button span{color:#64788d;font-size:11px;display:block;font-weight:500;margin-top:2px}
.commerce-trend-ideas button:focus-visible{outline:3px solid #3889dd;outline-offset:2px}
.commerce-trend-action{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:13px 0 7px}
.commerce-trend-action .commerce-primary{min-height:44px}
.commerce-trend-action .commerce-message{margin:0;line-height:1.4;font-size:12px;flex:1}
.commerce-trend-answer{border:1px solid #d0e0eb;background:#fff;border-radius:12px;padding:12px 14px;margin:10px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.commerce-trend-answer p{margin:7px 0}
.commerce-trend-answer ol{padding-left:22px;margin:8px 0}
.commerce-trend-answer li{margin-bottom:6px}
.commerce-trend-answer small,.commerce-trend-footnote{font-size:11px;color:#566e82;line-height:1.5}
.commerce-trend-footnote a{color:#245f95;text-decoration:underline}
@media(max-width:680px){.commerce-trend-body{padding:11px}.commerce-trend-discovery>summary{padding:13px}.commerce-trend-ideas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.commerce-trend-ideas button{padding:8px;min-width:0;font-size:12px}.commerce-trend-action{display:block}.commerce-trend-action .commerce-primary{width:100%}.commerce-trend-action .commerce-message{margin-top:7px}}
@media(min-width:681px){.commerce-trend-ideas button{min-width:132px}}

/* Restore discrete, accessible Commerce return links on iPhone. */
.commerce-page .btb-store-journey{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:10px 0 12px}
.commerce-page .btb-store-journey a{display:inline-flex;align-items:center;justify-content:center;min-width:0;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid #bed4e6;border-radius:12px;background:#fff;color:#19496f;text-decoration:none;text-align:center;font-size:13px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.commerce-page .btb-store-journey a:focus-visible{outline:3px solid #2787d3;outline-offset:2px}
.commerce-page .commerce-field-note strong{display:block;margin-bottom:5px}
.commerce-page .commerce-field-note span{display:block;overflow-wrap:anywhere}
.commerce-page #commerce-dropship-query{min-width:0;max-width:100%}
@media(max-width:760px){
.commerce-page .btb-store-journey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.commerce-page .btb-store-journey a{width:100%;padding:8px 7px;font-size:12px}
.commerce-page .btb-store-journey a:first-child{grid-column:1/-1}
.commerce-page .commerce-panel{scroll-margin-top:180px}
}

/* Seller-first Commerce: actionable information first, optional diagnostics later. */
.commerce-next-steps{
  display:flex;flex-direction:column;align-items:flex-start;gap:12px;
  margin:12px 0 16px;padding:clamp(15px,3.5vw,23px);
  background:#eef5fc;border:1px solid #cddced;border-radius:19px;
  color:#163650;
}
.commerce-next-steps .eyebrow{font-size:11px;letter-spacing:.12em;color:#386b95}
.commerce-next-steps h2{font-size:clamp(19px,3.7vw,26px);line-height:1.2;margin:5px 0 7px}
.commerce-next-steps p{font-size:13px;line-height:1.5;margin:0;color:#3d5771}
.commerce-next-step-links{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.commerce-next-step-links a{
 display:inline-flex;min-height:40px;align-items:center;justify-content:center;
 padding:9px 14px;border-radius:10px;font-size:13px;font-weight:760;
 text-decoration:none;background:#153e68;color:white;border:1px solid #153e68
}
.commerce-next-step-links a+a{background:#fff;color:#194974;border-color:#b5cbdc}
.commerce-next-shipping-note{font-size:12px!important;border-top:1px solid #c9d9e7;padding-top:10px;width:100%}
#commerce-technical-details{font-size:12px;border:1px solid #d9e3ec;background:#f8fafc;
 border-radius:12px;margin:0 0 14px;color:#415a70}
#commerce-technical-details>summary{padding:12px 14px;cursor:pointer;font-size:12px;font-weight:700}
#commerce-technical-details>summary small{font-size:11px;font-weight:500;color:#71859a}
.commerce-tabs .commerce-advanced-tabs[hidden]{display:none!important}
.commerce-tabs .commerce-advanced-tabs{display:contents}
.commerce-tabs button#commerce-more-tools{
 flex:0 0 auto;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;
 color:#143c60;border:1px solid #a9bfd1;border-radius:11px;background:#edf3f9;
 padding:9px 13px;min-height:38px
}
.commerce-tabs button#commerce-more-tools[aria-expanded="true"]{background:#193e62;color:white}
.commerce-next-step-links a:focus-visible,.commerce-tabs button#commerce-more-tools:focus-visible{
 outline:3px solid #488bcf;outline-offset:2px
}
@media(max-width:760px){
 .commerce-next-steps{margin:8px 0 12px;padding:13px 14px;border-radius:14px}
 .commerce-next-step-links a{flex:1;min-width:120px;font-size:12px}
 .commerce-page .commerce-tabs button#commerce-more-tools{font-size:.78rem;padding:9px 11px;white-space:nowrap}
}

/* Business payment setup: one clear action, no duplicate onboarding dashboard. */
.commerce-payment-setup{
 display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;
 margin:10px 0 12px;padding:15px 17px;border:1px solid #b9d5e7;border-radius:15px;
 background:#f5fafe;color:#183650;
}
.commerce-payment-setup h2{font-size:19px;margin:5px 0 6px}
.commerce-payment-setup p{font-size:13px;line-height:1.45;margin:0 0 5px;color:#35536f}
.commerce-payment-setup small{display:block;color:#58758d;font-size:11px;line-height:1.5}
.commerce-payment-link{display:inline-flex;padding:11px 16px;min-height:42px;
 align-items:center;justify-content:center;border-radius:11px;background:#194a75;color:#fff;
 text-decoration:none;font-weight:750;font-size:13px;white-space:nowrap}
.commerce-payment-link:focus-visible{outline:3px solid #3798f0;outline-offset:2px}
/* Preserve all underlying diagnostic checks and their IDs, but do not display
   technical supplier/provider names in the normal business workspace. */
.commerce-page #commerce-technical-details{display:none!important}
@media(max-width:760px){
 .commerce-payment-setup{padding:12px 14px}
 .commerce-payment-link{width:100%}
}
