/* Seller workspaces share the storefront palette with task-focused surfaces. */
body.storefront-ui .seller-workspace { padding: 0; min-width: 0; }
body.storefront-ui .seller-workspace-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; padding: 23px; border: 1px solid #dce2eb; border-radius: 18px; background: linear-gradient(115deg,#fff 65%,#f4f6fb); }
body.storefront-ui .seller-workspace-identity { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 320px; }
body.storefront-ui .seller-workspace-logo { display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; overflow: hidden; border: 1px solid #e1e5eb; border-radius: 19px; background: #edf1f8; color: #2c405e; font-size: 29px; font-weight: 700; }
body.storefront-ui .seller-workspace-logo img { width: 100%; height: 100%; object-fit: contain; }
body.storefront-ui .seller-workspace-title { min-width: 0; }
body.storefront-ui .seller-eyebrow { margin: 0 0 6px; color: #64758d; font-size: 11px; letter-spacing: .09em; font-weight: 650; text-transform: uppercase; }
body.storefront-ui .seller-workspace h1 { margin: 0; font-size: 25px; line-height: 1.35; letter-spacing: -.025em; color: #233149; overflow-wrap: anywhere; }
body.storefront-ui .seller-workspace-status { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; }
body.storefront-ui .seller-status { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 550; }
body.storefront-ui .seller-status--approved { color: #24705b; }
body.storefront-ui .seller-status--pending { color: #8b6425; }
body.storefront-ui .seller-status--rejected { color: #a1384c; }
body.storefront-ui .seller-avatar-edit { display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; min-height: 44px; border: 0; background: transparent; color: #5d6e86; font-size: 12px; }
body.storefront-ui .seller-avatar-edit:hover { color: #233149; }
body.storefront-ui .seller-workspace-actions { display: flex; gap: 8px; flex-wrap: wrap; }
body.storefront-ui .seller-workspace .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
body.storefront-ui .seller-workspace .seller-workspace-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding: 5px; margin-bottom: 20px; border: 1px solid #dce2eb; border-radius: 13px; background: #edf1f6; }
body.storefront-ui .seller-workspace-tabs .nav-link { width: 100%; height: 100%; min-height: 48px; font-size: 13px; font-weight: 550; color: #52637b; border: 0; justify-content: center; }
body.storefront-ui.page-dash .seller-workspace .seller-workspace-tabs .nav-link.active { background: #263b59!important; color: #fff!important; box-shadow: 0 2px 5px #1c2a430a; }
body.storefront-ui .seller-workspace #biz>.card { background: transparent; border: 0; box-shadow: none; }
body.storefront-ui .seller-workspace #biz>.card>.card-body { padding: 0; }
body.storefront-ui .seller-business-details { border: 1px solid #dce2eb; background: #fff; border-radius: 14px; margin-bottom: 20px; }
body.storefront-ui .seller-business-details summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; gap: 12px; cursor: pointer; min-height: 52px; font-size: 13px; font-weight: 600; color: #42546d; list-style: none; }
body.storefront-ui .seller-business-details summary::-webkit-details-marker { display: none; }
body.storefront-ui .seller-business-details summary>span { display: flex; align-items: center; gap: 9px; }
body.storefront-ui .seller-business-details summary>.fa-chevron-down { font-size: 10px; transition: transform .2s; }
body.storefront-ui .seller-business-details[open] summary>.fa-chevron-down { transform: rotate(180deg); }
body.storefront-ui .seller-business-details__body { padding: 0 18px 18px; color: #5d6e86; font-size: 13px; overflow-wrap: anywhere; }
body.storefront-ui .seller-business-details__body strong { color: #3d4e67; font-weight: 550; }
body.storefront-ui .seller-business-details__body>.btn { margin-top: 16px; }
body.storefront-ui .seller-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body.storefront-ui .seller-section-heading h5 { font-size: 16px; font-weight: 650; }
body.storefront-ui .seller-metrics { --bs-gutter-x: 12px!important; --bs-gutter-y: 12px!important; }
body.storefront-ui .seller-metrics .card { border: 1px solid #dce2eb; background: #fff; box-shadow: none; }
body.storefront-ui .seller-metrics .card-body { display: flex; flex-direction: column; justify-content: center; padding: 17px 18px; }
body.storefront-ui .seller-metrics .card-body>.small { font-size: 12px; }
body.storefront-ui .seller-metrics .h5 { font-size: 25px; font-weight: 700; letter-spacing: -.03em; line-height: 1.4; margin-top: 7px!important; color: #233149; }
body.storefront-ui .seller-metrics--primary>.col-6:nth-child(2) .card { background: #263b59; border-color: #263b59; }
body.storefront-ui .seller-metrics--primary>.col-6:nth-child(2) .card .text-muted { color: #d4ddea!important; }
body.storefront-ui .seller-metrics--primary>.col-6:nth-child(2) .card .h5 { color: #f3dfa9!important; }
body.storefront-ui .seller-metrics--secondary { margin-bottom: 24px!important; }
body.storefront-ui .seller-metrics--secondary .card { background: #f4f6fa; border-color: #e1e6ee; }
body.storefront-ui .seller-metrics--secondary .card-body { padding: 14px 16px; text-align: left!important; }
body.storefront-ui .seller-metrics--secondary .card-body>.d-flex { justify-content: flex-start!important; flex-wrap: wrap; gap: 2px; margin: 4px 0!important; }
body.storefront-ui .seller-metrics--secondary .h4,body.storefront-ui .seller-metrics--secondary .h5 { font-size: 20px; margin: 4px 0!important; }
body.storefront-ui .seller-metrics--secondary .rating-stars i { font-size: 10px!important; }
body.storefront-ui .seller-workspace .seller-filterbar { align-items: end; }
body.storefront-ui .seller-workspace .form-label { color: #52637b; font-size: 12px; font-weight: 550; margin-bottom: 7px; }
body.storefront-ui .seller-workspace .seller-filterbar-submit { align-self: end; }
body.storefront-ui .seller-workspace .seller-data-table { --bs-table-striped-bg: transparent; font-size: 13px; min-width: 660px; }
body.storefront-ui .seller-workspace .seller-data-table th { white-space: nowrap; text-transform: none!important; font-size: 11px; font-weight: 550; color: #63738a; padding: 12px; background: #f3f6fa; }
body.storefront-ui .seller-workspace .seller-data-table td { padding: 14px 12px; border-color: #e7ebf1; }
body.storefront-ui .seller-workspace .seller-data-table tr:last-child td { border-bottom: 0; }
body.storefront-ui .seller-workspace .seller-data-table td a { color: #2c405e; }
body.storefront-ui .seller-workspace .seller-data-table .badge { font-size: 11px; padding: 6px 8px; font-weight: 550; border-radius: 6px; }
body.storefront-ui .seller-workspace .seller-listing-table { min-width: 880px; }
body.storefront-ui .seller-listing-table td:nth-child(2) { min-width: 170px; max-width: 240px; }
body.storefront-ui .seller-listing-table td:nth-child(3) { max-width: 140px; }
body.storefront-ui .seller-listing-table .seller-product-art { display: block; width: 70px; height: 50px; object-fit: contain; border-radius: 8px; background: #f3f6fa; }
body.storefront-ui .seller-listing-table .seller-row-actions { min-width: 164px; white-space: nowrap; }
body.storefront-ui .seller-listing-table .seller-row-actions .btn { width: 44px; min-width: 44px; padding: 0; margin: 2px 0; }
body.storefront-ui .seller-listing-summary { display: flex; flex-wrap: wrap; gap: 6px; }
body.storefront-ui .seller-listing-summary>span { padding: 7px 10px; border-radius: 8px; background: #f0f3f7; color: #5e6e85; font-size: 12px; }
body.storefront-ui .seller-listing-summary b { margin-left: 5px; color: #263b59; }
body.storefront-ui .seller-listing-summary .is-active { color: #24705b; background: #eaf5ef; }
body.storefront-ui .seller-listing-summary .is-low { color: #8b6425; background: #fbf3df; }
body.storefront-ui .seller-workspace .dash-category-shortcuts .badge { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border: 1px solid #dce2eb; background: #f5f7fa!important; color: #52637b!important; font-size: 12px; font-weight: 500; }
body.storefront-ui .seller-workspace .dash-category-shortcuts .badge.bg-primary { background: #263b59!important; color: #fff!important; border-color: #263b59; }
body.storefront-ui .seller-workspace .seller-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 140px; text-align: center; padding: 24px; color: #66768d; }
body.storefront-ui .seller-workspace #escrow>.row>.col-md-4 .card-body,body.storefront-ui .seller-workspace .wallet-card .card-body { display: flex; flex-direction: column; align-items: flex-start; text-align: left!important; padding: 20px; }
body.storefront-ui .seller-workspace #escrow>.row>.col-md-4 .card-body>.d-flex { align-items: flex-start!important; justify-content: flex-start!important; }
body.storefront-ui .seller-workspace .wallet-card .card-body>i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #e3e8ee; background: #f4f6fa; border-radius: 12px; font-size: 18px!important; margin-bottom: 15px!important; }
body.storefront-ui .seller-workspace .wallet-card .h4 { font-size: 26px; color: #233149!important; font-weight: 700; }
body.storefront-ui .seller-workspace .wallet-card .card-body>.btn { margin-top: auto; width: 100%; }
body.storefront-ui .seller-workspace #escrow .progress { width: 100%; }
body.storefront-ui .seller-workspace-modal .modal-header { background: #f5f7fa; color: #233149; }
body.storefront-ui .seller-workspace-modal .modal-title { font-size: 18px; color: #233149; }
body.storefront-ui .seller-workspace-modal .btn-close { width: 44px; height: 44px; padding: 0; box-sizing: border-box; background-size: 14px; filter: none; margin: -8px -8px -8px auto; }
body.storefront-ui .seller-workspace-modal .modal-body { max-height: min(74vh,820px); overflow-y: auto; }
body.storefront-ui .seller-workspace-modal #addKeysText { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 14px; line-height: 1.75; }
body.storefront-ui .seller-workspace-modal .payment-method { width: 100%; text-align: left; color: #233149; }
body.storefront-ui .seller-workspace-modal .payment-method:focus-visible { outline: 3px solid #8097ba; outline-offset: 2px; }
body.storefront-ui .seller-form-workspace { max-width: 980px; margin: 0 auto; }
body.storefront-ui .seller-form-workspace .seller-form-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
body.storefront-ui .seller-form-workspace .seller-form-header h1 { font-size: 24px; }
body.storefront-ui .seller-form-workspace .seller-form-header p { margin: 7px 0 0; color: #63738a; font-size: 13px; }
body.storefront-ui .seller-form-workspace form .row { --bs-gutter-x: 20px; }
body.storefront-ui .seller-delivery-steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 22px; }
body.storefront-ui .seller-delivery-steps li { display: flex; align-items: center; gap: 9px; flex: 1; border: 1px solid #dce2eb; border-radius: 11px; background: #fff; padding: 12px; font-size: 12px; color: #52637b; }
body.storefront-ui .seller-delivery-steps b { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 8px; background: #eef2f8; color: #304867; }
body.storefront-ui .seller-delivery-key { display: flex; align-items: flex-start; gap: 12px; padding: 15px!important; min-height: 56px; }
body.storefront-ui .seller-delivery-key .form-check-input { margin: 3px 0 0; flex: 0 0 18px; }
body.storefront-ui .seller-delivery-key label { flex: 1; min-height: 24px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 13px; }
body.storefront-ui.page-seller-register .auth-card { max-width: 860px; }
body.storefront-ui.page-seller-register .seller-register-intro { text-align: center; border-bottom: 1px solid #e1e6ee; padding-bottom: 20px; margin-bottom: 24px; }
body.storefront-ui.page-seller-register .seller-register-intro .auth-subtitle { max-width: 580px; margin: 12px auto 0; }
body.storefront-ui.page-seller-register .form-label { font-size: 12px; color: #52637b; font-weight: 550; }
@media(max-width:1199px) { body.storefront-ui .seller-workspace-head { padding: 20px; } body.storefront-ui .seller-workspace-actions { width: 100%; } }
@media(max-width:767.98px) {
 body.storefront-ui .seller-workspace-head { padding: 17px; gap: 16px; margin-bottom: 16px; }
 body.storefront-ui .seller-workspace-identity { gap: 12px; flex-basis: 100%; align-items: flex-start; }
 body.storefront-ui .seller-workspace-logo { width: 50px; height: 50px; flex-basis: 50px; border-radius: 14px; font-size: 24px; }
 body.storefront-ui .seller-workspace h1 { font-size: 21px; }
 body.storefront-ui .seller-workspace-actions .btn { flex: 1 1 140px; }
 body.storefront-ui .seller-workspace .seller-workspace-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 16px; }
 body.storefront-ui .seller-workspace-tabs .nav-link { padding: 10px 8px; font-size: 12px; }
 body.storefront-ui .seller-business-details { margin-bottom: 16px; }
 body.storefront-ui .seller-business-details summary { padding: 13px 14px; }
 body.storefront-ui .seller-business-details__body { padding: 0 14px 14px; }
 body.storefront-ui .seller-metrics .card-body { padding: 14px; }
 body.storefront-ui .seller-metrics .h5 { font-size: 23px; }
 body.storefront-ui .seller-metrics--secondary .h4,body.storefront-ui .seller-metrics--secondary .h5 { font-size: 19px; }
 body.storefront-ui .seller-section-heading { flex-wrap: wrap; }
 body.storefront-ui .seller-workspace :is(.form-control,.form-select),body.storefront-ui .seller-workspace-modal :is(.form-control,.form-select),body.storefront-ui.page-seller-register :is(.form-control,.form-select) { font-size: 16px; }
 body.storefront-ui .seller-form-workspace .seller-form-header { align-items: flex-start; flex-wrap: wrap; }
 body.storefront-ui .seller-delivery-steps { gap: 6px; }
 body.storefront-ui .seller-delivery-steps li { flex-direction: column; align-items: flex-start; padding: 11px; font-size: 11px; }
 body.storefront-ui .seller-workspace #escrow>.row>.col-md-4 .card-body,body.storefront-ui .seller-workspace .wallet-card .card-body { padding: 17px; }
 body.storefront-ui .seller-workspace-modal .modal-body { max-height: 70vh; }
}
@media(prefers-reduced-motion:reduce) { body.storefront-ui .seller-business-details summary>.fa-chevron-down { transition: none; } }

body.storefront-ui .seller-workspace .seller-category-filter { margin-bottom: 18px; border-top: 1px solid #e4e9f0; border-bottom: 1px solid #e4e9f0; }
body.storefront-ui .seller-category-filter summary { display: flex; gap: 9px; align-items: center; min-height: 48px; cursor: pointer; color: #52637b; font-size: 12px; font-weight: 550; list-style: none; }
body.storefront-ui .seller-category-filter summary::-webkit-details-marker { display: none; }
body.storefront-ui .seller-category-filter summary .fa-chevron-down { margin-left: auto; font-size: 10px; }
body.storefront-ui .seller-category-filter[open] summary .fa-chevron-down { transform: rotate(180deg); }
body.storefront-ui .seller-category-filter .dash-category-shortcuts { max-height: 200px; overflow-y: auto; padding: 2px; }
body.storefront-ui .seller-workspace .btn-outline-light { color: #435974!important; background: #fff!important; border-color: #d3dce8!important; }
body.storefront-ui .seller-workspace .btn-outline-light:hover { color: #233149!important; background: #edf2f8!important; border-color: #a3b2c6!important; }
body.storefront-ui .seller-manage-art { width: min(100%,250px); aspect-ratio: 1.5; object-fit: contain; padding: 14px; margin-bottom: 18px; background: #f4f6fa; border-radius: 13px; border: 1px solid #e1e6ee; }

/* Readable status distinctions after reviewing the rendered desktop/mobile views. */
body.storefront-ui.page-dash .seller-workspace .seller-workspace-tabs .nav-link { white-space: normal; background: transparent; }
body.storefront-ui.page-dash .seller-workspace .seller-workspace-tabs .nav-link:not(.active):hover { background: #e3e9f2; }
body.storefront-ui.page-dash .seller-workspace .seller-profit-positive { color: #28705b!important; }
body.storefront-ui.page-dash .seller-workspace .seller-profit-negative { color: #a1384c!important; }
body.storefront-ui.page-dash .seller-workspace :is(.seller-metrics,#escrow) .text-info { color: #3d6285!important; }
body.storefront-ui .seller-workspace .seller-metrics :is(.h4,.h5) { overflow-wrap: anywhere; }
body.storefront-ui .seller-workspace .seller-listing-table td:nth-child(4)>.fw-semibold { color: #324a6c!important; }
body.storefront-ui .seller-workspace #sellerFilterForm { display: grid; grid-template-columns: minmax(180px,1fr) minmax(150px,200px) auto; gap: 12px; margin: 0 0 16px!important; }
body.storefront-ui .seller-workspace #sellerFilterForm>[class*=col] { width: auto; padding: 0; margin-top: 0; }
body.storefront-ui .seller-workspace #sellerFilterForm>.col-6:last-child { display: flex!important; }
body.storefront-ui .seller-workspace #sellerFilterForm .btn { width: auto!important; white-space: nowrap; padding-inline: 15px; }
body.storefront-ui .seller-workspace .seller-listing-table th:first-child { width: 94px!important; }
body.storefront-ui .seller-workspace .seller-listing-table td:first-child { min-width: 94px; }
@media(max-width:767.98px) {
 body.storefront-ui .seller-workspace #sellerFilterForm { grid-template-columns: minmax(0,1fr); }
 body.storefront-ui .seller-workspace #sellerFilterForm .btn { flex: 1 1 0; }
}
/* Quick-view content is fetched as a server-rendered fragment; controls stay in the host page. */
body.storefront-ui .seller-quick-view .seller-quick-product { display: flex; align-items: flex-start; gap: 18px; }
body.storefront-ui .seller-quick-art { flex: 0 0 112px; width: 112px; height: 90px; object-fit: contain; border-radius: 12px; padding: 8px; background: #f3f6fa; border: 1px solid #e3e8ef; }
body.storefront-ui .seller-quick-product__info { min-width: 0; }
body.storefront-ui .seller-quick-product__info h6 { font-size: 17px; line-height: 1.5; margin: 0 0 5px; color: #233149; overflow-wrap: anywhere; }
body.storefront-ui .seller-quick-product__info p { color: #64738a; font-size: 12px; margin: 0 0 8px; }
body.storefront-ui .seller-quick-product__info .seller-quick-description { margin-top: 9px; }
body.storefront-ui .seller-quick-price { font-size: 21px; line-height: 1.4; font-weight: 700; color: #2c405e; }
body.storefront-ui .seller-quick-price del { color: #8b6670; margin-left: 9px; font-size: 13px; font-weight: 400; }
body.storefront-ui .seller-quick-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
body.storefront-ui .seller-quick-stats>div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; background: #f3f6fa; border: 1px solid #e1e7ef; border-radius: 11px; }
body.storefront-ui .seller-quick-stats span { color: #63738a; font-size: 12px; }
body.storefront-ui .seller-quick-stats strong { font-size: 22px; color: #2c405e; }
body.storefront-ui .seller-quick-stats>div:first-child strong { color: #28705b; }
body.storefront-ui .seller-quick-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 16px 0 8px; }
body.storefront-ui .seller-quick-heading h6 { margin: 0; color: #3b4d67; font-size: 13px; font-weight: 600; }
body.storefront-ui .seller-quick-keys .table { font-size: 12px; margin: 0; }
body.storefront-ui .seller-quick-keys .table :is(th,td) { padding: 11px 10px; }
body.storefront-ui .seller-quick-keys .table th { background: #f4f6fa; color: #65758b; font-size: 11px; font-weight: 550; }
body.storefront-ui .seller-quick-keys .table th:first-child { width: 36px; }
body.storefront-ui .seller-quick-keys code { color: #415672; overflow-wrap: anywhere; }
body.storefront-ui .seller-quick-keys .seller-key-available { background: #e8f4ed; color: #28705b; }
body.storefront-ui .seller-quick-keys .seller-key-sold { background: #edf1f7; color: #526580; }
body.storefront-ui .seller-quick-view button[hidden] { display: none!important; }
body.storefront-ui .seller-quick-keys .table-responsive:focus-visible { outline: 2px solid #7393c0; outline-offset: 2px; }
@media(max-width:767.98px) {
 body.storefront-ui .seller-quick-art { flex-basis: 84px; width: 84px; height: 72px; padding: 6px; }
 body.storefront-ui .seller-quick-view .seller-quick-product { gap: 12px; }
 body.storefront-ui .seller-quick-product__info h6 { font-size: 15px; }
 body.storefront-ui .seller-quick-stats>div { padding: 12px; }
 body.storefront-ui .seller-quick-stats strong { font-size: 20px; }
 body.storefront-ui .seller-quick-keys .table :is(th,td) { padding: 10px 7px; }
 body.storefront-ui .seller-quick-keys code { font-size: 10px; }
}
