/* Round 4 (owner command): rules of app-ui.css that only EXT pages can use — moved here unchanged, each in its original
   @layer/@media context and order; loaded right after app-ui.css on EXT pages only (UI\Chrome::head; wp-admin loads every bundle). */
@layer sstf-hotfix{
body.sstf-flow.sstf-customer #recipient-section .recipient-products-table tr{display:table-row!important}
body.sstf-flow.sstf-customer #recipient-section .recipient-products-table td>img{width:46px!important;height:46px!important;border-radius:var(--sstf-r-s)!important;object-fit:contain!important}
}
@layer sstf-authoritative{
body.sstf-flow .supplier-main table{min-width:0!important}
}
@layer sstf-components{
.sstf-customer{--ink:#0c0c0d;--line:#e6e6e8;--mut:#6e6e73;--field:#fff;--ease:cubic-bezier(.2,.7,.2,1)}
:where(.sstf-flow,.sstf-admin) .export-toolbar button{margin:0}
:where(.sstf-flow,.sstf-admin) .review-panel .version-history>summary{cursor:pointer;font-weight:bold}
:where(.sstf-flow,.sstf-admin) .supplier-main small,:where(.sstf-flow,.sstf-admin) .supplier-main strong{display:block}
:where(.sstf-flow,.sstf-admin) .supplier-main td:nth-child(3),:where(.sstf-flow,.sstf-admin) .supplier-main td:nth-child(6){min-width:150px;max-width:240px;}
:where(.sstf-flow,.sstf-admin) .supplier-main td:last-child{min-width:240px}
:where(.sstf-flow,.sstf-admin) .supplier-main button:disabled{opacity:.5;cursor:not-allowed}
:where(.sstf-flow,.sstf-admin) .supplier-main summary{cursor:pointer}
@media print{
:where(.sstf-flow,.sstf-admin) .supplier-main td:last-child{min-width:0}
:where(.sstf-flow,.sstf-admin) .supplier-main tr{break-inside:avoid}
:where(.sstf-flow,.sstf-admin) .supplier-main thead{display:table-header-group}
}
:where(.sstf-flow,.sstf-admin) .finance-panel input[type=file]{background:#fff}
:where(.sstf-flow,.sstf-admin) .finance-panel nav button{flex:1}
:where(.sstf-flow,.sstf-admin) .finance-panel textarea{white-space:pre-wrap}
@media (max-width:600px){
:where(.sstf-flow,.sstf-admin) .finance-panel nav{flex-direction:column}
}
:where(.sstf-flow,.sstf-admin) .parcel-section input[type=checkbox]{width:20px;height:20px}

@media (max-width:700px){
:where(.sstf-flow,.sstf-admin) .store-order-workspace .order-actions{scroll-margin-bottom:110px}
:where(.sstf-flow,.sstf-admin) .store-order-workspace .task-bar{bottom:var(--store-nav-clearance,calc(78px + env(safe-area-inset-bottom)))}
:where(.sstf-flow,.sstf-admin) .store-dashboard.is-keyboard .store-bottom-nav{display:none}
}
@media (max-width:680px){
}
@media print{
}
:where(.sstf-flow,.sstf-admin) .task-bar button{margin:0}
:where(.sstf-flow,.sstf-admin) .task-bar output{font-weight:750;direction:ltr;unicode-bidi:isolate}
:where(.sstf-flow,.sstf-admin) .is-keyboard .task-bar,:where(.sstf-flow,.sstf-admin).is-keyboard .task-bar{position:static}
:where(.sstf-flow,.sstf-admin) .supplier-tools.task-bar{margin:10px 0}
:where(.sstf-flow,.sstf-admin) .supplier-main .order-meta{padding:10px}
:where(.sstf-flow,.sstf-admin) .supplier-main .order-meta>div{padding:0}
}
@layer sstf-design{
.sstf-flow .task-bar output{font-size:var(--sstf-t-body);white-space:normal;}
.sstf-flow .pricing-grid>label:has([name=preparation]){grid-column:1/-1;max-width:440px}
.sstf-flow .supplier-main .order-meta strong{font-size:var(--sstf-t-body)}
.sstf-customer .header-customer-logout button{min-height:34px;height:34px;padding:5px 9px;font-size:var(--sstf-t-small);border-radius:var(--sstf-r-s);white-space:nowrap}
.sstf-customer #batch-retry{grid-column:1/-1}
.sstf-customer .product-table-fold>summary::-webkit-details-marker{display:none}
.sstf-customer .product-table-fold>summary::after{content:'⌄';font-size:var(--sstf-t-card);transition:transform .15s}
.sstf-customer .product-table-fold[open]>summary::after{transform:rotate(180deg)}
.sstf-customer .product-table-content .section-heading button{min-height:36px;padding:5px 9px;font-size:var(--sstf-t-small)}
.sstf-customer #products-table{font-size:var(--sstf-t-small)}
.sstf-customer #products-table th,.sstf-customer #products-table td{padding:7px 6px}
.sstf-customer .order-actions button{min-height:44px;padding:7px 10px;font-size:var(--sstf-t-small)}
.sstf-customer .customer-export-toolbar>summary::-webkit-details-marker{display:none}
.sstf-customer .customer-export-toolbar>summary strong{font-weight:850}
@media(max-width:600px){
.sstf-customer .app-header .logo{width:36px;height:36px;flex-basis:36px}
.sstf-customer .header-customer-logout button{height:31px;min-height:31px;padding:var(--sstf-space-1) 6px;font-size:var(--sstf-t-small)}
.sstf-customer dialog.product-wizard{border-radius:var(--sstf-r-m)}
.sstf-customer .product-wizard .choice .ic img{width:34px;height:34px}
.sstf-customer .product-wizard .size-cell input{min-height:38px;padding:5px;font-size:var(--sstf-t-small)}
}
.sstf-customer .brand-lockup>div{overflow:hidden}
.sstf-customer .brand-lockup .company-name,.sstf-customer .brand-lockup .company-name-ar{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sstf-customer footer{display:none}
.sstf-customer.plain-order-page{--ui-nav-offset:0px}
.sstf-customer.plain-order-page main{padding-bottom:var(--sstf-space-5)!important}
.sstf-customer.store-dashboard :where(.store-bottom-nav,.store-sidebar){visibility:visible}
.sstf-flow .customer-order-static .order-meta-date strong{font-size:var(--sstf-t-small)!important;direction:ltr}
.sstf-flow .customer-order-static .order-meta-country [data-country-name]{max-width:100%!important;font-size:var(--sstf-t-small)!important;overflow:hidden!important;text-overflow:ellipsis!important}
.sstf-customer #batch-retry{grid-column:1/-1!important;min-height:38px!important;color:#174a87!important;border-color:#b8cbe2!important}
.sstf-customer #products-table .product-image-cell{text-align:center!important;padding:var(--sstf-space-1)!important}
.sstf-customer #products-table .product-thumb{width:48px!important;height:48px!important;object-fit:cover!important;border:0!important;border-radius:var(--sstf-r-s)!important;background:#f4f5f7!important}
.sstf-customer #products-table .product-info-cell{text-align:start!important}
.sstf-customer #products-table .product-info-cell>b{display:block!important;font-size:var(--sstf-t-small)!important;font-weight:850!important;color:#15283f!important;line-height:1.3!important}
.sstf-customer #products-table .product-code{display:block!important;margin-top:1px!important;color:#8a9099!important;font-size:var(--sstf-t-small)!important;direction:ltr!important;text-align:start!important}
.sstf-customer #products-table .product-meta-line{display:block!important;margin-top:3px!important;color:#596474!important;font-size:var(--sstf-t-small)!important;line-height:1.3!important}
.sstf-customer #products-table .product-recipient-slot{display:grid!important;gap:2px!important;margin-top:3px!important}
.sstf-customer #products-table .recipient-product-label{font-size:var(--sstf-t-small)!important;color:#6f5aa8!important;font-weight:750!important}
.sstf-customer #products-table .product-recipient-slot select{min-height:27px!important;height:27px!important;margin:0!important;padding:2px 5px!important;font-size:var(--sstf-t-small)!important;border-radius:var(--sstf-r-s)!important}
.sstf-customer #products-table .product-sizes-cell{padding:5px!important}
.sstf-customer #products-table .product-size-grid{
    display:grid!important;
    grid-template-rows:repeat(2,22px)!important;
    grid-auto-flow:column!important;
    grid-auto-columns:max-content!important;
    gap:var(--sstf-space-1)!important;
    max-width:100%!important;
    min-height:48px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    align-content:center!important;
    scrollbar-width:thin!important;
  }
.sstf-customer #products-table .product-total-cell{text-align:center!important;font-size:var(--sstf-t-small)!important;color:#173d70!important;font-weight:900!important}
.sstf-customer #submit-order{background:#174777!important;border-color:#174777!important;color:#fff!important}
.sstf-customer #save-draft{background:#fff!important;color:#1b1e22!important;border:1.5px solid #dedfe3!important}
@media(max-width:600px){
.sstf-customer main{padding-inline:var(--sstf-space-2)!important}
.sstf-flow .customer-order-static .order-meta-date strong{font-size:var(--sstf-t-small)!important}
.sstf-customer #products-table .product-info-cell>b{font-size:var(--sstf-t-small)!important}
.sstf-customer #products-table .product-size-grid{grid-template-rows:repeat(2,20px)!important;min-height:44px!important;gap:3px!important}
}
.sstf-customer .recipient-editor-dialog::backdrop{background:rgba(18,31,48,.48)!important;backdrop-filter:blur(2px)!important}
.sstf-customer .recipient-editor-dialog .recipient-wide{grid-column:1/-1!important}
.sstf-customer .recipient-import-visible textarea{min-height:84px!important;background:#fff!important;border-color:#d9d0e9!important}
.sstf-customer .order-actions button:disabled{opacity:.48!important;cursor:not-allowed!important}
@media(max-width:600px){
.sstf-customer .recipient-editor-dialog .recipient-wide,.sstf-customer .recipient-import-visible{grid-column:1!important}
}
.sstf-customer.store-order-workspace #recipient-section{
    padding:0!important;
    margin:9px 0 11px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
.sstf-customer.store-order-workspace #add-zone>button,
  .sstf-customer.store-order-workspace #add-zone>.batch-state{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
.sstf-customer.store-order-workspace #product-table-section{display:none!important}
.sstf-customer.store-order-workspace #recipient-section{margin:10px 0 var(--sstf-space-3)!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.sstf-customer.store-order-workspace #add-zone{height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}
@media(max-width:600px){
}
.sstf-customer .order-review-products-table tfoot th,.sstf-customer .order-review-products-table tfoot td{padding:6px 5px!important;background:#f7f9fc!important;border-top:1px solid #dfe5ed!important;font-size:var(--sstf-t-small)!important}
@media(max-width:600px){
.sstf-customer .product-wizard .product-summary .review-full-image{width:100%!important;max-height:260px!important}
}
.sstf-customer .recipient-direct-review-products .recipient-products-table thead th{background:#f8fafc!important}
.sstf-customer .recipient-table-download-icon span{font-size:var(--sstf-t-card)!important;font-weight:900!important;line-height:1!important;transform:translateY(-1px)}
@media(max-width:600px){
}
.supplier-workspace>.section-heading h2{margin-bottom:1px}
.supplier-workspace>.section-heading p{margin:0;color:#748093;font-size:var(--sstf-t-small)}
.supplier-pick select{min-height:42px}
.supplier-advanced-body>label{font-size:var(--sstf-t-small)}
.supplier-advanced-body details>summary{font-size:var(--sstf-t-small);color:#526579;cursor:pointer}
@media(max-width:760px){
.supplier-credential-actions .whatsapp{grid-column:1/-1}
.credential-mini{grid-column:1/-1}
.supplier-credential-actions>button{grid-column:1/-1}
}
}
:where(.sstf-flow,.sstf-admin) .alternative-price-box textarea{min-height:64px}
@layer sstf-design{
.sstf-customer.staff-order-view .staff-order-meta-card .customer-order-note{margin:7px 0 0!important;background:rgba(255,255,255,.78)!important}
@media(max-width:520px){
.sstf-customer.staff-order-view .workspace-quick-tools{overflow-x:auto;scrollbar-width:none}
}
}
.ss-public-sale main{max-width:980px}
.inventory-product-view-meta>div{display:grid;gap:3px;padding:11px var(--sstf-space-3);background:#fff;border:1px solid #dbe3ec;border-radius:var(--sstf-r-s)}
.ss-public-sale .ss-customer-change summary{cursor:pointer;color:#174a87;font-weight:750}
@layer sstf-design{
.sstf-customer #product-table-section .product-table-scroll{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
.sstf-customer #product-table-section #products-table{
    display:table!important;
    width:100%!important;
    min-width:680px!important;
    table-layout:fixed!important;
    border:1px solid var(--sstf-table-line)!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    border-radius:var(--sstf-r-s)!important;
    overflow:hidden!important;
    margin:0!important;
    background:var(--sstf-table-bg)!important;
    box-shadow:var(--sstf-sh-card)!important;
    color:var(--sstf-table-ink)!important;
    font-size:var(--sstf-t-small)!important;
  }
.sstf-customer #product-table-section #products-table thead{display:table-header-group!important}
.sstf-customer #product-table-section #products-table tbody{display:table-row-group!important;width:auto!important}
.sstf-customer #product-table-section #products-table tfoot{display:table-footer-group!important;width:auto!important}
.sstf-customer #product-table-section #products-table tr{display:table-row!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.sstf-customer #product-table-section #products-table :is(th,td){
    display:table-cell!important;
    min-width:0!important;
    max-width:none!important;
    padding:11px 10px!important;
    border:0!important;
    border-block-end:1px solid var(--sstf-table-line-soft)!important;
    border-inline-end:1px solid var(--sstf-table-line-soft)!important;
    background:transparent!important;
    color:var(--sstf-table-ink)!important;
    vertical-align:middle!important;
    text-align:start!important;
    white-space:normal!important;
    
  }
.sstf-customer #product-table-section #products-table thead th{
    padding-block:11px!important;
    background:var(--sstf-table-head-bg)!important;
    color:var(--sstf-table-head-ink)!important;
    border-block-end:1px solid #cbd7e4!important;
    font-size:var(--sstf-t-small)!important;
    font-weight:850!important;
    text-align:start!important;
  }
.sstf-customer #product-table-section #products-table tr>*:last-child{border-inline-end:0!important}
.sstf-customer #product-table-section #products-table tbody tr:last-child>td{border-block-end:0!important}
.sstf-customer #product-table-section #products-table thead th:nth-child(1),
  .sstf-customer #product-table-section #products-table td:nth-child(1){width:82px!important;text-align:center!important}
.sstf-customer #product-table-section #products-table thead th:nth-child(2),
  .sstf-customer #product-table-section #products-table td:nth-child(2){width:31%!important}
.sstf-customer #product-table-section #products-table thead th:nth-child(4),
  .sstf-customer #product-table-section #products-table td:nth-child(4){width:88px!important;text-align:center!important}
.sstf-customer #product-table-section #products-table .product-image-cell{padding:7px!important}
.sstf-customer #product-table-section #products-table .product-thumb{width:58px!important;height:58px!important;object-fit:contain!important;border:1px solid #e3e8ee!important;border-radius:var(--sstf-r-s)!important;background:#fff!important}
.sstf-customer #product-table-section #products-table .product-actions-row>td{padding:7px 10px!important;background:rgba(248,250,253,.94)!important;border-block-end:1px solid var(--sstf-table-line)!important}
.sstf-customer #product-table-section #products-table tfoot :is(th,td){background:rgba(241,246,251,.96)!important;color:var(--sstf-table-head-ink)!important;font-weight:850!important;border-block-start:1px solid #cbd7e4!important;border-block-end:0!important}
.sstf-customer #recipient-section .recipient-products-table-wrap{overflow-x:auto!important;overflow-y:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.sstf-customer #recipient-section .recipient-products-table{min-width:680px!important;border:1px solid var(--sstf-table-line)!important;border-collapse:separate!important;border-spacing:0!important;border-radius:var(--sstf-r-s)!important;background:var(--sstf-table-bg)!important;box-shadow:var(--sstf-sh-card)!important;overflow:hidden!important}
.sstf-customer #recipient-section .recipient-products-table th{background:var(--sstf-table-head-bg)!important;color:var(--sstf-table-head-ink)!important;border:0!important;border-block-end:1px solid #cbd7e4!important;border-inline-end:1px solid var(--sstf-table-line)!important}
.sstf-customer #recipient-section .recipient-products-table td{background:transparent!important;border:0!important;border-block-end:1px solid var(--sstf-table-line-soft)!important;border-inline-end:1px solid var(--sstf-table-line-soft)!important}
.sstf-customer #recipient-section .recipient-products-table tr>*:last-child{border-inline-end:0!important}
@media(max-width:760px){
.sstf-customer #product-table-section #products-table{min-width:640px!important}
.sstf-customer #recipient-section .recipient-products-table{min-width:640px!important}
}
}
.sstf-flow .inventory-product-view-meta small{color:#7a8998!important;font-size:var(--sstf-t-small)!important}
@media(max-width:700px){
.sstf-flow .inventory-product-view-meta>div:last-child{grid-column:1/-1}
}
@layer sstf-components{
@media(max-width:700px){
.sstf-customer dialog.product-wizard{border-radius:var(--sstf-r-m)!important}
}
}
@layer sstf-hotfix{
body.sstf-customer{--customer-header-height:var(--ui-app-height,68px);overflow-x:clip!important}
.sstf-customer #workspace>:where(section,div,form),.sstf-customer #order-details>:where(section,div,form){margin-block:0!important}
.sstf-customer .order-country-value{direction:rtl!important}
.sstf-customer .product-wizard .wizard-body>[data-question]:not([hidden]){display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;background:#fff!important;color:#172a3d!important}
.sstf-customer .product-wizard :where(label,.hint,.quantity-summary,.upload-state,summary,b,strong,small,span){visibility:visible!important;opacity:1!important}
.sstf-customer .product-wizard .choice.on{border-color:#83a9cd!important;background:#edf5fd!important;color:#174a87!important}
.sstf-customer .product-wizard .choice .rd{display:none!important}
.sstf-customer .product-wizard .upload-box.has-image{min-height:0!important}
.sstf-customer .product-wizard .image-preview:not([hidden]){display:block!important;width:min(100%,420px)!important;height:min(42dvh,360px)!important;border-radius:var(--sstf-r-m)!important;background:#fff!important;object-fit:contain!important}
.sstf-customer .product-wizard .upload-box.has-image .upload-placeholder{display:none!important}
body.sstf-customer.plain-order-page #products-table .product-data-row:focus-visible,.sstf-flow .pricing-product-card:focus-visible{outline:3px solid rgba(23,79,136,.22)!important;outline-offset:2px!important}
@media(max-width:700px){
body.sstf-customer main{padding-inline:var(--sstf-space-2)!important;padding-block-start:calc(var(--customer-header-height) + 6px)!important}
.sstf-customer .app-header .brand-lockup .logo{width:40px!important;height:40px!important}
.sstf-customer .app-header .company-name{font-size:var(--sstf-t-body)!important}
.sstf-customer .app-header .company-name-ar{font-size:var(--sstf-t-small)!important}
.sstf-customer .order-country-flag{font-size:var(--sstf-t-card)!important}
.sstf-customer .product-wizard .title{font-size:var(--sstf-t-card)!important}
.sstf-customer.plain-order-page #products-table .product-meta-line{font-size:var(--sstf-t-small)!important}
.sstf-customer.plain-order-page #products-table .product-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
body.sstf-customer.plain-order-page:has(.customer-bottom-stack #order-actions:not([hidden])) main{padding-block-end:132px!important}
body.sstf-customer.plain-order-page.has-store-nav{--ui-nav-offset:calc(70px + env(safe-area-inset-bottom,0px))}
body.sstf-customer.plain-order-page.has-store-nav:has(#order-actions:not([hidden])) main{padding-block-end:calc(var(--ui-nav-offset,70px) + 88px)!important}
body.sstf-customer.plain-order-page.has-store-nav:has(.customer-bottom-stack #order-actions:not([hidden])) main{padding-block-end:calc(var(--ui-nav-offset,70px) + 132px)!important}
@media(min-width:960px){
body.sstf-customer.plain-order-page.has-store-nav{--ui-nav-offset:0px}
}
body.sstf-customer.store-order-workspace .recipient-table-download-icon:disabled{opacity:.4!important;cursor:not-allowed!important}
@media(min-width:720px){
}
}
.sstf-flow .pricing-choice-scope.pricing-rate-choice,.sstf-flow .pricing-choice-scope.pricing-commission-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
.sstf-flow .pricing-product-result span{font-size:var(--sstf-t-small);color:var(--ui-muted)}
.sstf-flow .pricing-product-result strong{font-size:var(--sstf-t-body);direction:ltr;unicode-bidi:isolate}
.sstf-flow #pricing-message{margin:0}
.sstf-flow .pricing-summary-metrics span{font-size:var(--sstf-t-small);color:var(--ui-muted)}
.sstf-flow .pricing-summary-metrics strong{font-size:var(--sstf-t-card);direction:ltr;unicode-bidi:isolate;}
@media(max-width:700px){
.sstf-flow .pricing-choice-scope.pricing-rate-choice,.sstf-flow .pricing-choice-scope.pricing-commission-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
.sstf-flow .pricing-choice-scope.pricing-rate-choice label:first-child{grid-column:auto}
}
@media(max-width:390px){
.sstf-flow .pricing-choice-scope span,.sstf-flow .pricing-rate-choice span{font-size:var(--sstf-t-small)}
}
.sstf-flow .pricing-editor-ui.pricing-editor-flat{min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.sstf-flow #pricing-message{margin:0;color:var(--ui-danger,#a21919);font-weight:700}
.sstf-flow #pricing-message:empty{display:none}
.sstf-flow .pricing-order-state[hidden]{display:none!important}
.sstf-flow dialog.pricing-product-workspace::backdrop{background:rgba(20,31,44,.48);backdrop-filter:blur(2px)}
.sstf-flow .pricing-workspace-view.inventory-product-view{width:100%!important;max-width:none!important;margin:0!important}
.sstf-flow .pricing-workspace-view .inventory-product-view-media{aspect-ratio:16/8!important;padding:0!important}
.sstf-flow .pricing-workspace-view .inventory-product-view-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.sstf-flow .pricing-workspace-panel>[data-workspace-panel][hidden]{display:none!important}
.sstf-flow .pricing-workspace-panel textarea{min-height:92px}
.sstf-flow .pricing-product-result{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sstf-flow .pricing-summary-metrics strong{direction:ltr;unicode-bidi:isolate}
.sstf-flow .pricing-breakdown strong{direction:ltr;unicode-bidi:isolate}
@media(max-width:700px){
.sstf-flow .pricing-editor-flat #pricing-form{gap:13px}
.sstf-flow .pricing-rate-card{padding:11px}
.sstf-flow .pricing-workspace-view.inventory-product-view{min-height:100%;border:0!important;border-radius:0!important}
.sstf-flow .pricing-workspace-view .inventory-product-view-media{aspect-ratio:1/1!important;padding:0!important}
.sstf-flow .pricing-workspace-view .inventory-product-view-content{padding-bottom:max(18px,env(safe-area-inset-bottom))}
.sstf-flow .pricing-workspace-view .inventory-product-view-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.sstf-flow .pricing-workspace-tabs button{flex-basis:28vw}
}
@media(min-width:900px){
.sstf-flow .pricing-workspace-tabs button{flex:1 1 auto}
}
@layer sstf-hotfix{
body.ss-public-sale main {min-width:0!important;max-width:100%!important}
body.sstf-flow.permanent-customer-portal section.login h2{margin:0 0 14px!important;color:#172b3f!important;font-size:var(--sstf-t-page)!important}
body.sstf-flow.permanent-customer-portal section.login label{display:block!important;color:#5f7185!important;font-size:var(--sstf-t-small)!important;font-weight:750!important}
body.sstf-flow.permanent-customer-portal section.login input{width:100%!important;box-sizing:border-box!important;min-height:46px!important;margin:6px 0 var(--sstf-space-3)!important;padding:9px 11px!important;border:1px solid #d6e1ec!important;border-radius:var(--sstf-r-s)!important;background:#fff!important;color:#22384d!important;font-size:var(--sstf-t-card)!important;text-align:center!important;letter-spacing:5px!important}
body.ss-b2b-page #pricing-order-panels [data-workspace-panel]{min-width:0!important}
}
.ss-compact-form>label.ss-form-full{grid-column:1/-1!important}
@layer sstf-hotfix{
@media(min-width:960px){
body.sstf-flow.staff-order-view.plain-order-page:has(.app-sidebar)>main{margin-inline-start:var(--ui-sidebar,232px)!important;width:auto!important}
body.sstf-flow.staff-order-view.store-order-workspace:has(.app-sidebar)>main{margin-inline-start:var(--ui-sidebar,250px)!important;margin-inline-end:0!important;width:auto!important;max-width:none!important}
}
body.sstf-flow.store-order-workspace #workspace .recipient-card-products .ss-order-product-grid{max-width:100%!important;box-sizing:border-box!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.sstf-flow.store-order-workspace #workspace .recipient-card-products .ss-unified-product{max-width:270px!important;width:100%!important;justify-self:start!important}
@media(max-width:600px){
body.sstf-flow.store-order-workspace #workspace .recipient-card-products .ss-order-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}
@media(max-width:359px){
body.sstf-flow.store-order-workspace #workspace .recipient-card-products .ss-order-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
}
@media screen{
.ss-store-print-report{display:none!important}
}
@media(max-width:600px){
.ss-account-support{grid-template-columns:1fr!important}
}
}
@media print{
@layer sstf-hotfix{
.ss-store-print-report{display:block!important}
.ss-store-print-report table{width:100%!important;border-collapse:collapse!important}
body.store-dashboard dialog{display:none!important}
}
}
body.ss-supplier-glass #supplier-products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.ss-supplier-glass #supplier-products .ss-supplier-product{min-width:0!important;width:auto!important}
body.ss-supplier-glass .ss-supplier-price-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sstf-space-3)}
body.ss-supplier-glass .ss-supplier-price-row output{display:block;padding:var(--sstf-space-3);background:#f5f7fb;border-radius:var(--sstf-r-s);font-weight:800}
body.ss-supplier-glass .ss-supplier-language{display:flex;gap:var(--sstf-space-2);justify-content:flex-end}
body.ss-supplier-glass .ss-supplier-language a{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d5dfeb;border-radius:var(--sstf-r-s);background:#fff;color:#5274ae;font-weight:800;text-decoration:none}
body.ss-supplier-glass .ss-supplier-alternative-group{min-width:0}
body.ss-supplier-glass .ss-supplier-original{border:2px solid var(--tf-red,#cf4050)!important;opacity:.65}
body.ss-supplier-glass dialog.ss-supplier-alternative-wizard[open]{display:flex!important;flex-direction:column;max-height:calc(100dvh - 32px)!important;overflow:hidden!important}
body.ss-supplier-glass .ss-supplier-alternative-wizard .wizard-body img{width:100%;max-height:48dvh;object-fit:contain}
body.ss-supplier-glass .ss-supplier-alternative-wizard .wizard-foot button{flex:1;background:var(--flow-green);color:#fff;font-weight:800}
body.ss-supplier-glass .ss-supplier-alternative-wizard .wizard-foot button:last-child{flex-basis:100%}
body.sstf-flow .ss-staff-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@layer sstf-hotfix{
body.sstf-flow.plain-order-page .customer-bottom-stack:has(#order-actions:not([hidden])){inset-block-end:var(--ui-nav-offset,0px)!important}
body.sstf-flow.plain-order-page:has(.mobile-nav):has(.customer-bottom-stack:not([hidden]) #order-actions:not([hidden])) main{padding-block-end:calc(var(--ui-nav-offset,0px) + 132px)!important}
}
/* R134-FIX8/9: inside the first-declared layer (compat.css) — an !important of a layered rule beats an unlayered one */
/* R134-FIX9/FIX10: the carrier file / waybills card (four rows) and the supplier's carton weight */
@layer sstf-wizard-contract{/* R193 (أمر المالك 17/11): صور إثبات الدفعة — شريط صور صغيرة لكلٍّ زرّ حذف */
.finance-proofs{display:flex;flex-wrap:wrap;gap:var(--sstf-space-2);margin:var(--sstf-space-2) 0}
.finance-proofs__cell{position:relative}
.finance-proofs .finance-proof{width:96px;height:96px;object-fit:cover;border-radius:var(--sstf-r-s);border:1px solid var(--sstf-list-line);background:#fff}
.finance-proofs__drop{position:absolute;inset-inline-end:-6px;inset-block-start:-6px;width:26px;height:26px;border-radius:50%;border:0;
 background:var(--sstf-danger,#d33);color:#fff;font-size:17px;line-height:26px;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.25)}
.finance-proofs__drop[disabled]{opacity:.5;cursor:default}
.ds-missing-list{display:grid;gap:6px;margin-top:var(--sstf-space-2)}}
@layer sstf-wizard-contract{#ds-shipping .ds-missing{display:flex;justify-content:space-between;align-items:center;gap:var(--sstf-space-2);width:100%;margin:0;padding:var(--sstf-space-2) 10px;border:1px solid #f3c2c2;border-radius:var(--sstf-r-s);background:#fff5f5!important;background-image:none!important;box-shadow:none!important;color:#b42318!important;font:inherit;font-weight:600;text-align:start;cursor:pointer;min-height:0}}
@layer sstf-wizard-contract{p.ds-missing{cursor:default}}
@layer sstf-wizard-contract{.ds-awb-progress{display:grid;gap:var(--sstf-space-1);margin-top:var(--sstf-space-2)}.ds-awb-progress progress{width:100%;height:8px}}
@layer sstf-wizard-contract{.ds-awb-file{display:flex;align-items:center;gap:6px;font-size:var(--sstf-t-small);color:#5b6b82;overflow-wrap:anywhere}}
@layer sstf-wizard-contract{.ds-awb-clear{min-width:28px;min-height:28px;padding:0;border:0;background:transparent;color:#b42318;font-size:var(--sstf-t-card);line-height:1;cursor:pointer}}
@layer sstf-wizard-contract{.ds-awb-dist__line{display:flex;justify-content:space-between;align-items:center;gap:var(--sstf-space-2);flex-wrap:wrap;margin:6px 0}}
@layer sstf-wizard-contract{.ds-awb-row{display:grid;gap:6px;padding:var(--sstf-space-2);border:1px solid #e3e8f0;border-radius:var(--sstf-r-s);margin-top:6px}.ds-awb-row.is-unmatched{border-color:#f3c2c2}}
@layer sstf-wizard-contract{.ds-awb-row__head{display:flex;gap:var(--sstf-space-2);justify-content:space-between;font-size:var(--sstf-t-small)}}
@layer sstf-wizard-contract{.ds-awb-linked{display:flex;align-items:center;gap:6px}.ds-awb-linked__open{flex:1;display:flex;justify-content:space-between;gap:var(--sstf-space-2);padding:var(--sstf-space-2) 10px;border:1px solid #e3e8f0;border-radius:var(--sstf-r-s);background:#fff;font:inherit;color:#174a87;cursor:pointer;text-align:start}}
@layer sstf-wizard-contract{/* R193: الملصق يُعرض صورةً (الجوال لا يرسم PDF في إطار) — يملأ العرض ويحتفظ بنسبته */.ds-awb-preview__box{width:100%;min-height:40vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:var(--sstf-space-2);border:1px solid #e3e8f0;border-radius:var(--sstf-r-s);background:#fff;padding:var(--sstf-space-2)}img.ds-awb-preview{width:100%;height:auto;max-height:70vh;object-fit:contain;border:0;background:#fff}.ds-awb-preview__wait{margin:0;color:var(--sstf-list-muted)}iframe.ds-awb-preview{width:100%;height:60vh;border:1px solid #e3e8f0;border-radius:var(--sstf-r-s);background:#fff}.ds-awb-preview__info{margin:var(--sstf-space-2) 0;padding-inline-start:18px;font-size:var(--sstf-t-small)}}
@layer sstf-wizard-contract{.ds-status:empty{display:none}}
@layer sstf-wizard-contract{.ds-parcel-weight{margin:6px 0}}
@layer sstf-wizard-contract{html body #ds-shipping button.ds-missing.ds-missing{white-space:normal!important;height:auto!important;background:#fff5f5!important;background-image:none!important;color:#b42318!important;border:1px solid #f3c2c2!important;box-shadow:none!important;justify-content:space-between!important}}
@layer sstf-wizard-contract{html body #ds-shipping button.ds-awb-clear.ds-awb-clear{white-space:normal!important;height:auto!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;color:#b42318!important;width:28px!important;min-width:28px!important;height:28px!important;padding:0!important}}
@layer sstf-wizard-contract{html body #ds-shipping button.ds-awb-linked__open.ds-awb-linked__open{white-space:normal!important;height:auto!important;background:#fff!important;background-image:none!important;color:#174a87!important;box-shadow:none!important;border:1px solid #e3e8f0!important;justify-content:space-between!important}}
/* R134-FIX8 (owner reference 23/10): the «التجهيز» card — status · remaining · next step in ONE row of three; «تحديث التجهيز» and «سجل التنفيذ» side by
   side; the recipients' three counts in one row; smaller state buttons on the recipient rows */
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;padding:var(--sstf-space-2) var(--sstf-space-1)!important;border:1px solid #e3e8f0;border-radius:var(--sstf-r-m);background:#fff}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:var(--sstf-space-1)!important;min-width:0!important;margin:0!important;padding:var(--sstf-space-1) var(--sstf-space-2)!important;border:0!important;border-inline-start:1px solid #e3e8f0!important;border-radius:0!important;background:none!important;box-shadow:none!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row:first-child{border-inline-start:0!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row>*{min-width:0;overflow-wrap:anywhere;font-size:var(--sstf-t-small)}}
/* R193 (بلاغ المالك 19/11): «زرّ التذكير بعد التحديث ليش هيك عاملو مربع، خليه افقي» — عمودان على عرض
   الجوال يجعلان الزرّ 184px فيلتفّ اسمه ثلاثة أسطر (قياس 19/11: ارتفاع الاسم 50px). صار صفًّا واحدًا بعرض الكرت. */
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-shipping-hub__children{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--sstf-space-2)!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-shipping-hub__children>.sstf-shipping-hub__child>.sstf-shipping-hub__child-label{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-shipping-hub__children>.sstf-shipping-hub__child{min-width:0!important;margin:0!important}}
@layer sstf-wizard-contract{html body #recipient-tracking .parcel-counts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}}
@layer sstf-wizard-contract{html body #recipient-tracking .parcel-counts>.sstf-fact{min-width:0!important;padding:6px!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row .sstf-value-row__label{display:flex!important;flex-wrap:wrap!important;white-space:normal!important;gap:var(--sstf-space-1)!important;max-width:100%!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row *{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-shipping-hub__children>.sstf-shipping-hub__child:nth-child(2){order:3;grid-column:1/-1}}

@layer sstf-wizard-contract{html body #recipient-tracking div.sstf-facts.parcel-counts.parcel-counts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@layer sstf-wizard-contract{html body #recipient-tracking div.sstf-facts.parcel-counts>.sstf-fact.sstf-fact{grid-column:auto!important;width:auto!important}}
@layer sstf-wizard-contract{html body #fulfillment-panel>.sstf-values>.sstf-value-row .sstf-value-row__label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;font-size:var(--sstf-t-small)!important}html body #fulfillment-panel>.sstf-values>.sstf-value-row .sstf-value-row__label>span,html body #recipient-tracking .parcel-counts .sstf-fact__text,html body #recipient-tracking .parcel-counts .sstf-fact__text *{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:var(--sstf-t-small)}html body #recipient-tracking .parcel-counts .sstf-fact__text strong{font-size:var(--sstf-t-body)}}
/* R142: تحديد القطع في كرت الطرد ونقلها دفعة واحدة */
.sstf-flow .fly-pick{display:inline-flex;align-items:center;gap:6px;margin-inline-end:10px;font-size:var(--sstf-t-small);font-weight:700;color:#4a5b6e}
.sstf-flow .fly-pick input{width:20px;height:20px;accent-color:#0561f5}
.sstf-flow .fly-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sstf-space-2);margin-top:var(--sstf-space-2);padding-top:var(--sstf-space-2);border-top:1px solid rgba(35,55,78,.12)}
.sstf-flow .fly-bulk select{flex:1 1 180px;min-width:0}
/* R283 (أمر المالك 25/11): صفّ المستلم سطران صريحان بالشبكة، لا يتأثّران بطول الاسم:
   الأول: اسم المستلم · شركة الشحن · ⋯   والثاني: ✓ · الحالة · رقم البوليصة.
   (كان: الاسم والحالة والرقم فوق، والوزن والنقاط تحت — وحقل الوزن السريع حُذف بأمره.) */
@layer sstf-wizard-contract{
html body .parcel-section>.recipient-block>.ds-recipient-row--line{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-areas:"line1" "line2"!important;
 align-items:center!important;row-gap:4px!important;column-gap:8px!important;padding-block:4px!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line>.ds-row__line1{grid-area:line1!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex-wrap:nowrap!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line>.ds-row__line2{grid-area:line2!important;display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;flex-wrap:nowrap!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line .sstf-icon-actions{flex:1 1 auto!important;max-width:100%!important;min-height:0!important;padding:0!important;margin:0!important;overflow:hidden!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line .sstf-icon-action{min-height:34px!important;height:34px!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line .ds-row__carrier{flex:0 0 auto!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line .ds-parcel-menu{flex:0 0 auto!important;margin-inline-start:auto!important;min-height:0!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line .ds-parcel-menu>button{min-height:32px!important;height:32px!important}
html body .parcel-section>.recipient-block>.ds-recipient-row--line>.ds-row__line2>*{min-width:0!important}
}
