@media screen {
/* Shared working scale. Loaded last by company and customer layouts. */
body[data-visual-design="workplace"], body.storefront {
    --work-control: 36px;
    --work-gap: 12px;
    font-size: 14px;
    line-height: 1.5;
}
body[data-visual-design="workplace"] #main-content { padding: 18px 22px; }
body[data-visual-design="workplace"] #main-content :is(h1,.visual-page-header h1),
body.storefront :is(.account-heading h1,.workspace-header h1) { font-size: 24px !important; line-height: 1.3; letter-spacing: -.5px; }
body[data-visual-design="workplace"] #main-content :is(.panel-tabs,.panel-related-tabs) {
    padding: 0; gap: 4px; margin-block: 0 12px; border: 0;
    border-bottom: 1px solid var(--panel-border); border-radius: 0; background: transparent;
}
body[data-visual-design="workplace"] #main-content .panel-tab {
    border-radius: 6px 6px 0 0; box-shadow: none; font-size: 13px;
}
body[data-visual-design="workplace"] #main-content .panel-tab[aria-current="page"] {
    background: #eaf0ec; box-shadow: inset 0 -2px #245347;
}
body[data-visual-design="workplace"] .panel-nav-section[data-expanded="true"] { border-color: transparent; background: transparent; }
body[data-visual-design="workplace"] .panel-nav-children { margin-left: 8px; padding-left: 8px; }
body[data-visual-design="workplace"] .panel-nav-link { border-radius: 6px; }
body[data-visual-design="workplace"] #main-content .visual-page-header { padding: 0 0 12px; border: 0; background: transparent; box-shadow: none; }
body[data-visual-design="workplace"] #main-content .company-page-flow { gap: 12px; }
body[data-visual-design="workplace"] #main-content .home-shortcuts-heading { margin: 16px 0 8px; font-size: 14px; font-weight: 600; }
body[data-visual-design="workplace"] .supplier-product-toolbar > div:empty { display: none; }
body[data-visual-design="workplace"] .contact-list-row { border: 0; border-bottom: 1px solid var(--panel-border); border-radius: 0; padding: 10px 0; }
body[data-visual-design="workplace"] .contact-list-identity { flex: 1 1 250px; min-width: 0; }
body[data-visual-design="workplace"] .contact-list-identity strong { font-size: 14px; overflow-wrap: anywhere; }
.contact-more { position: relative; }
.contact-more-content { display: grid; gap: 8px; padding: 10px; margin-top: 6px; border: 1px solid #dce5df; border-radius: 8px; background: white; }
.contact-more summary { list-style: none; }
.contact-more summary::-webkit-details-marker { display: none; }
body[data-visual-design="workplace"] [data-product-freshness] { margin-top: 6px; padding-top: 6px; }
body[data-visual-design="workplace"] [data-product-freshness] summary { font-size: 12px; }
body.storefront .shell { max-width: 1280px; }
body.storefront .account-nav { margin: 14px 0; padding: 4px; gap: 4px; border-radius: 8px; }
body.storefront .account-nav a { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: 6px; }
body.storefront .customer-account-experience .account-heading { padding: 12px 0 16px; margin-bottom: 16px; }
body.storefront .customer-account-experience .account-heading p { margin-top: 6px; font-size: 13px; line-height: 1.5; }
body.storefront .supplier-workspace .workflow-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #dce5df; padding-bottom: 8px; }
body.storefront .supplier-workspace .workflow-tabs a { flex-direction: row; align-items: center; gap: 8px; padding: 7px 10px; min-height: 36px; border: 0; font-size: 13px; background: transparent; }
body.storefront .supplier-workspace .workflow-tabs a[aria-current="page"] { background: #eaf0ec; color: #204137; }
body.storefront .supplier-workspace .workflow-tabs span { font-size: 12px; line-height: 1.5; color: inherit; padding: 1px 5px; border-radius: 4px; background: #2041370c; }
body.storefront .supplier-workspace .showcase-workflow { margin: 16px 0 24px; }
body.storefront .supplier-workspace .workflow-preparation { padding: 16px; margin-top: 16px; border-radius: 10px; }
body.storefront .supplier-workspace .workflow-heading { margin-bottom: 12px; gap: 12px; }
body.storefront .supplier-workspace .workflow-heading :is(h2,h3),
body.storefront .supplier-workspace .workflow-two-columns h3 { font-size: 17px; letter-spacing: -.2px; margin: 4px 0; }
body.storefront .supplier-workspace .workflow-two-columns { gap: 20px; }
body.storefront .supplier-workspace .workflow-search { margin: 12px 0; }
body.storefront .supplier-workspace .workflow-products { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid #dce5df; border-radius: 8px; overflow: hidden; }
body.storefront .supplier-workspace .workflow-product { display: grid; grid-template-columns: 150px minmax(0,1fr) 170px; gap: 12px; align-items: center; padding: 12px; border: 0; border-bottom: 1px solid #e5ebe6; border-radius: 0; box-shadow: none; }
body.storefront .supplier-workspace .workflow-product-action { border: 0; padding: 0; margin: 0; }
@media screen and (min-width: 768px) {
    body[data-visual-design="workplace"] #main-content :is(.panel-button-primary,.panel-button-secondary,.panel-button-danger,.panel-tab) { min-height: var(--work-control); padding: 6px 10px; font-size: 13px; }
    body[data-visual-design="workplace"] #main-content :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select:not([multiple])) { min-height: var(--work-control); padding-block: 6px; font-size: 14px; box-shadow: none; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] > article { border-radius: 0; border-width: 0 0 1px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] { gap: 0; border: 1px solid var(--panel-border); border-radius: 8px; overflow: hidden; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] > article > a { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 12px; padding: 10px 12px; height: auto; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-image { width: 44px; height: 44px; max-height: 44px; border-radius: 6px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-content { padding: 0; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] h2 { min-height: 0; font-size: 14px; margin: 2px 0; line-height: 1.4; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-content p { font-size: 12px; margin-top: 2px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-facts { margin-top: 4px; font-size: 12px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-action { padding-top: 4px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-footer { padding: 10px 12px; background: white; }
    body[data-visual-design="workplace"] #main-content [data-company-product-card] .panel-product-thumbnail { height: 40px; width: 40px; max-height: 40px; flex-shrink: 0; }
    body.storefront :is(.btn,.nav a,.nav button) { min-height: 36px; padding: 7px 12px; font-size: 13px; }
    body.storefront .customer-account-experience :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select:not([multiple])) { min-height: 36px; padding: 7px 10px; font-size: 14px; border-radius: 6px; }
    body.storefront .customer-account-experience :is(.cart-checkout,.quote-panel,.detail-body,.order-card-body,.ca-request .split>.box) { padding: 16px; border-radius: 10px; }
    body.storefront .customer-account-experience :is(.cart-checkout h2,.quote-panel h2,.order-card h2,.detail-body h1) { font-size: 20px !important; }
    body.storefront .customer-account-experience .cart-line { grid-template-columns: 56px minmax(0,1fr) auto; padding: 14px 16px; gap: 12px; }
    body.storefront .ca-cart-image { width: 56px; height: 56px; }
    body.storefront .ca-process { gap: 8px; margin-bottom: 16px; }
    body.storefront .ca-process li { min-height: 44px; padding: 10px 12px; gap: 10px; border-radius: 8px; }
}
@media screen and (min-width: 1024px) {
    body[data-visual-design="workplace"]:not(.panel-sidebar-collapsed) .panel-desktop-sidebar { width: 224px; }
    body[data-visual-design="workplace"]:not(.panel-sidebar-collapsed) .panel-shell-content.has-panel-sidebar { padding-left: 224px; }
    body[data-visual-design="workplace"] .panel-nav-heading { min-height: 36px; padding: 6px 8px; font-size: 13px; }
    body[data-visual-design="workplace"] .panel-nav-children a { min-height: 32px; padding: 6px 8px; font-size: 12px; line-height: 1.4; }
}
@media screen and (max-width: 767px) {
    body[data-visual-design="workplace"] #main-content { padding: 14px 12px; }
    body[data-visual-design="workplace"] #main-content :is(.panel-button-primary,.panel-button-secondary,.panel-button-danger,.panel-tab),
    body.storefront :is(.btn,.account-nav a,.workflow-tabs a) { min-height: 44px; }
    body.storefront .supplier-workspace .workflow-product { grid-template-columns: minmax(0,1fr); gap: 4px; }
    body.storefront .supplier-workspace .workflow-two-columns { grid-template-columns: minmax(0,1fr); }
    body.storefront .customer-account-experience :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea) { font-size: 16px; min-height: 44px; }
    body[data-visual-design="workplace"] .contact-list-identity { flex-basis: 100%; }
}
/* Discovery uses the same rhythm as the signed-in customer workspace. */
body.storefront .cd-intro { padding: 18px 20px; margin: 16px 0; border-radius: 10px; gap: 20px; }
body.storefront .cd-intro h1 { font-size: 26px; margin: 6px 0 8px; letter-spacing: -.5px; }
body.storefront .cd-steps { gap: 12px; }
body.storefront .cd-steps b { width: 28px; height: 28px; font-size: 12px; }
body.storefront .cd-steps li { gap: 6px; }
body.storefront .catalog-layout .product-card { box-shadow: none; border-radius: 10px; }
@media screen and (min-width: 768px) {
    body.storefront .top-inner { min-height: 64px; gap: 16px; }
    body.storefront .nav { gap: 10px; }
    body.storefront .catalog-layout .filter-panel :is(select,summary) { min-height: 36px; }
    body.storefront .search .btn { min-height: 36px; }
    body[data-visual-design="workplace"] .panel-display-switch { padding: 2px; border-radius: 6px; }
    body[data-visual-design="workplace"] .panel-display-switch button { min-height: 32px; padding: 5px 8px; font-size: 12px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-image>div>span { display: none; }
}

body.storefront .customer-account-experience .account-summary { gap: 10px; }
body.storefront .customer-account-experience .account-summary a { padding: 14px; gap: 8px; border-radius: 8px; }
body.storefront .customer-account-experience .account-summary strong { font-size: 28px; }
body.storefront .customer-account-experience .account-actions { gap: 12px; margin-top: 16px; }
body.storefront .customer-account-experience .account-actions>div { padding: 16px; border-radius: 10px; }
body.storefront .customer-account-experience .account-actions h2 { font-size: 18px; }
body.storefront .customer-account-experience .account-actions p { margin: 8px 0 12px; line-height: 1.5; }
body.storefront .customer-account-experience .amount { font-size: 28px; }

/* Apply one working rhythm to every company page, including detail forms. */
body[data-visual-design="workplace"] #main-content :is(.panel-workspace-page,.company-page-flow) { min-width: 0; gap: 12px; }
body[data-visual-design="workplace"] #main-content :is(.panel-workspace-page,.company-page-flow) :is(h2.text-xl,h2.text-2xl,.visual-section-intro h2) { font-size: 18px; line-height: 1.4; }
body[data-visual-design="workplace"] #main-content :is(.visual-section,.panel-workspace-page>.panel-card,.company-page-flow>.panel-card) { box-shadow: none; border-radius: 8px; }
body[data-visual-design="workplace"] #main-content .visual-section>header { padding: 10px 14px; }
body[data-visual-design="workplace"] #main-content .visual-section>div { padding: 14px; }
body[data-visual-design="workplace"] #main-content .panel-record-row { padding: 12px 14px; border-radius: 8px; box-shadow: none; }
body[data-visual-design="workplace"] #main-content :is(.panel-search-filters,.panel-list-heading) { padding-block: 10px; gap: 10px; }
body[data-visual-design="workplace"] #main-content :is(.panel-form-section,.panel-commercial-editor,.account-settings-layout) { padding: 14px; border-radius: 8px; }
body[data-visual-design="workplace"] #main-content :is(.sales-workspace-tabs,.parasut-hub-nav,.stock-operation-nav,.shipment-tabs,.payment-navigation,.support-tabs,.home-view-tabs,.account-tabs,.network-guide,.quote-flow-compact) {
    padding: 0 0 4px; gap: 4px; border: 0; border-bottom: 1px solid var(--panel-border); border-radius: 0; background: transparent;
}
body[data-visual-design="workplace"] #main-content .finance-more-menu .panel-related-tabs { border: 0; }
body[data-visual-design="workplace"] #main-content :is(.contact-ledger-heading,.contact-ledger-filters) { padding: 12px 14px; gap: 10px; }
body[data-visual-design="workplace"] #main-content .contact-ledger-heading h2 { font-size: 18px; margin: 0; }
body[data-visual-design="workplace"] #main-content .contact-ledger-heading :is(.contact-ledger-eyebrow,p) { display: none; }
body[data-visual-design="workplace"] #main-content :is(.contact-ledger-note,.contact-ledger-footer) { padding: 8px 14px; }
body[data-visual-design="workplace"] #main-content .contact-ledger-table :is(th,td) { padding: 10px 14px; }
body[data-visual-design="workplace"] #main-content .finance-center-header { padding-bottom: 12px; gap: 12px; }
body[data-visual-design="workplace"] #main-content .finance-currency-card { padding: 14px; border-radius: 8px; }
body[data-visual-design="workplace"] #main-content .finance-currency-heading { margin-bottom: 12px; }
body[data-visual-design="workplace"] #main-content .finance-metrics { gap: 12px; }
body[data-visual-design="workplace"] #main-content .finance-metrics dt { margin-bottom: 6px; }
body[data-visual-design="workplace"] #main-content .finance-metrics dd { font-size: 20px; overflow-wrap: anywhere; }
body[data-visual-design="workplace"] #main-content .finance-metrics .finance-metric-total dd { font-size: 24px; }
body[data-visual-design="workplace"] #main-content .finance-metrics>div+div { padding-left: 12px; }
body[data-visual-design="workplace"] #main-content .finance-currency-card>details { margin-top: 12px; padding-top: 10px; }
body[data-visual-design="workplace"] #main-content .contact-more summary { font-size: 13px; }
body[data-visual-design="workplace"] #main-content :is(.panel-disclosure>summary,.finance-more>summary) { cursor: pointer; }
/* Customer requests, orders, product detail, credits and invitations. */
body.storefront .customer-account-experience h1 { font-size: 24px !important; line-height: 1.3; }
body.storefront .customer-account-experience .account-heading>.eyebrow { display: none; }
body.storefront .customer-account-experience .account-tabs { padding-bottom: 8px; gap: 4px; }
body.storefront .customer-account-experience .account-tabs a { border: 0; border-radius: 6px; padding: 7px 10px; font-size: 13px; }
body.storefront .customer-account-experience .account-tabs a.selected { background: #eaf0ec; color: #204137; box-shadow: inset 0 -2px #245347; }
body.storefront .customer-account-experience .order-card { margin-bottom: 8px; border-radius: 8px; }
body.storefront .customer-account-experience .order-card-top { padding: 8px 14px; gap: 8px; }
body.storefront .customer-account-experience .order-card-body { padding: 12px 14px; gap: 12px; }
body.storefront .customer-account-experience .order-card h2 { font-size: 16px !important; margin: 0; line-height: 1.4; }
body.storefront .customer-account-experience .order-card-body>div>strong { font-size: 16px; margin-top: 4px; }
body.storefront .customer-account-experience .order-status { padding: 2px 7px; border-radius: 5px; }
body.storefront .customer-account-experience .empty { padding: 24px 16px; border-radius: 8px; }
body.storefront .customer-account-experience .empty h2 { font-size: 18px; }
body.storefront .customer-account-experience .empty>svg { width: 28px; height: 28px; margin-bottom: 8px; }
body.storefront .customer-account-experience :is(.cart-layout,.product-detail>.split,.ca-request .split) { gap: 16px; }
body.storefront .customer-account-experience .detail-media { height: 220px; padding: 16px; }
body.storefront .customer-account-experience .detail-media .product-image-viewer__preview { max-height: 188px; }
body.storefront .customer-account-experience .spec-list { gap: 8px; margin: 14px 0; }
body.storefront .customer-account-experience .spec-list>div { padding: 8px 10px; gap: 4px; border-radius: 6px; }
body.storefront .customer-account-experience :is(.delivery-box,.cart-supplier>h2) { padding: 10px 14px; font-size: 13px; }
body.storefront .customer-account-experience .step { min-height: 44px; gap: 10px; }
body.storefront .customer-account-experience .ca-credit-summary { gap: 10px; }
body.storefront .customer-account-experience .ca-credit-summary article { padding: 14px; border-radius: 8px; }
body.storefront .customer-account-experience .ca-credit-summary strong { font-size: 28px; }
body.storefront .customer-account-experience :is(.ca-credit-packs>article,.ca-credit-rules,.ca-credit-history,.auth-box) { padding: 16px; border-radius: 8px; box-shadow: none; }
body.storefront .customer-account-experience :is(.ca-credit-packs h2,.ca-credit-rules h2,.ca-credit-history h2) { font-size: 18px; }
body.storefront .customer-account-experience .auth-box::before { display: none; }
body.storefront .customer-account-experience details>summary { cursor: pointer; min-height: 36px; padding-block: 8px; font-size: 13px; font-weight: 600; }
@media screen and (min-width: 768px) {
    body[data-visual-design="workplace"] #main-content :is(.panel-workspace-page,.company-page-flow) :is(button.min-h-11,a.min-h-11,button.min-h-10) { min-height: 36px; padding-block: 6px; font-size: 13px; }
    body[data-visual-design="workplace"] #main-content :is(.sales-workspace-tabs,.parasut-hub-nav,.stock-operation-nav,.shipment-tabs,.payment-navigation,.support-tabs,.home-view-tabs,.account-tabs,.quote-flow-compact)>:is(a,button) { min-height: 36px; padding: 6px 10px; }
    body.storefront .customer-account-experience .account-tabs a { min-height: 36px; }
}
@media screen and (min-width: 1024px) {
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"]>article:has(.catalog-product-footer) { grid-template-columns: minmax(0,1fr) 240px; }
    body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-facts dl { gap: 2px 14px; }
}
@media screen and (max-width: 767px) {
    body[data-visual-design="workplace"] #main-content :is(.panel-workspace-page,.company-page-flow) :is(button.min-h-11,a.min-h-11,button.min-h-10),
    body.storefront .customer-account-experience :is(.account-tabs a,details>summary) { min-height: 44px; }
    body.storefront .customer-account-experience :is(.quote-panel,.cart-checkout,.detail-body,.ca-request .split>.box) { padding: 14px; border-radius: 8px; }
    body[data-visual-design="workplace"] #main-content .finance-metrics>div:nth-child(odd) { border-left: 0; padding-left: 0; }
    body.storefront .customer-account-experience .ca-credit-summary { grid-template-columns: minmax(0,1fr); }
}

/* Document tools use the same compact header as the rest of the workspace. */
body[data-visual-design="workplace"] #main-content .invoice-hero { padding: 12px 14px; gap: 14px; min-height: 0; border-radius: 8px; background: var(--panel-surface); box-shadow: none; }
body[data-visual-design="workplace"] #main-content .invoice-hero::after { display: none; }
body[data-visual-design="workplace"] #main-content .invoice-eyebrow { display: none; }
body[data-visual-design="workplace"] #main-content .invoice-hero h1 { margin: 0 0 4px; }
body[data-visual-design="workplace"] #main-content .invoice-hero p { font-size: 13px; line-height: 1.45; }
body[data-visual-design="workplace"] #main-content :is(.invoice-panel-head,.invoice-panel-body) { padding: 12px 14px; }
body[data-visual-design="workplace"] #main-content .invoice-panel-head h2 { font-size: 18px; }
body[data-visual-design="workplace"] #main-content .invoice-empty { min-height: 0; padding: 20px 14px; }
body[data-visual-design="workplace"] #main-content .invoice-empty-icon { font-size: 24px; margin-bottom: 6px; }
body[data-visual-design="workplace"] #main-content .quote-flow-list .quote-flow-lane[data-empty="true"] { padding: 6px 10px; gap: 0 10px; }
body[data-visual-design="workplace"] #main-content .quote-flow-list .quote-flow-lane[data-empty="true"] .quote-flow-lane-heading { min-height: 28px; margin: 0; }
@media screen and (min-width: 768px) {
    body[data-visual-design="workplace"] #main-content .invoice-btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }
}


/* Keep secondary help and source records within the task being performed. */
body[data-visual-design="workplace"] #main-content .support-guide { padding: 8px 12px; }
body[data-visual-design="workplace"] #main-content .support-guide-title { display: flex; align-items: center; gap: 8px; cursor: pointer; }
body[data-visual-design="workplace"] #main-content .support-guide-title h2 { margin: 0; font-size: 14px; }
body[data-visual-design="workplace"] #main-content .support-guide-hint { margin-left: auto; color: var(--panel-text-muted); font-size: 12px; }
body[data-visual-design="workplace"] #main-content .support-guide[open] .support-guide-hint { display: none; }
body[data-visual-design="workplace"] #main-content .support-guide ol { margin-top: 10px; }
body[data-visual-design="workplace"] #main-content .workspace-source-table { max-height: 400px; overflow: auto; overscroll-behavior: contain; }
body[data-visual-design="workplace"] #main-content .workspace-source-table:focus-visible { outline: 2px solid var(--panel-primary, #245347); outline-offset: 2px; }
body[data-visual-design="workplace"] #main-content .workspace-source-table thead { position: sticky; top: 0; background: var(--panel-surface); z-index: 1; }
body[data-visual-design="workplace"] #main-content :is(.pm-heading,.ph-heading) { padding: 12px 14px; }
body[data-visual-design="workplace"] #main-content :is(.pm-heading,.ph-heading) h2 { font-size: 18px; margin: 0; }
body[data-visual-design="workplace"] #main-content .pm-product-list { max-height: 360px; overflow: auto; }
body[data-visual-design="workplace"] #main-content .pm-product { padding: 8px 10px; }
body[data-visual-design="workplace"] #main-content .learn-list li button { padding: 8px 10px; min-height: 44px; }
body[data-visual-design="workplace"] #main-content :is(.learn-hero,.learn-start,.learn-detail) { padding: 12px 14px; }
body[data-visual-design="workplace"] #main-content .learn-progress strong { font-size: 24px; }
body[data-visual-design="workplace"] #main-content .learn-detail h2 { font-size: 18px; }
body[data-visual-design="workplace"] #main-content .invoice-upload-help { margin: 0; padding: 0 14px 10px; font-size: 13px; }
body[data-visual-design="workplace"] #main-content .supplier-workspace .workflow-products { max-height: 360px; overflow: auto; }
body[data-visual-design="workplace"] #main-content .workspace-disclosure { padding: 12px 14px; margin: 12px 0; border: 1px solid var(--panel-border); border-radius: 8px; background: var(--panel-surface); }
body[data-visual-design="workplace"] #main-content .workspace-disclosure > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
body[data-visual-design="workplace"] #main-content .workspace-disclosure[open] > summary { margin-bottom: 12px; }
@media (min-width: 768px) {
 body[data-visual-design="workplace"] #main-content .stock-direction { padding: 8px 10px; border-width: 1px; border-radius: 8px; }
 body[data-visual-design="workplace"] #main-content .stock-direction .text-lg { font-size: 14px; line-height: 20px; }
 body[data-visual-design="workplace"] #main-content .counter-sale-payment-method { min-height: 36px; padding: 6px 10px; font-size: 13px; }
 body[data-visual-design="workplace"] #main-content .counter-sale-payment-method svg { width: 18px; height: 18px; }
 body[data-visual-design="workplace"] #main-content .panel-catalog-results[data-layout="list"] .catalog-product-footer :is(button,.btn,a[role="button"]) { min-height: 36px; padding: 6px 10px; font-size: 12px; }
 body[data-visual-design="workplace"] #main-content .support-summary { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
 body[data-visual-design="workplace"] #main-content .support-summary > :is(p,dl) { grid-column: 1 / -1; }
 body[data-visual-design="workplace"] #main-content .support-summary > dl { grid-template-columns: repeat(3,minmax(0,1fr)); }
 body[data-visual-design="workplace"] #main-content ol[aria-label="Kayıt ilerlemesi"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

.waiting-request-form { max-width: 800px; }
@media (min-width: 768px) {
 .waiting-request-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; }
 .waiting-request-form > label { margin: 0; min-width: 0; }
 .waiting-request-form > :is(p,section,button), .waiting-request-form > label:first-of-type { grid-column: 1 / -1; }
 .waiting-request-form > p { margin: 0; }
 .waiting-request-form > button { justify-self: start; }
}

/* The storefront is a separate layout, so its compact rules use that scope. */
body.storefront .supplier-workspace .workflow-products { max-height: 360px; overflow: auto; overscroll-behavior: contain; }
body.storefront .supplier-workspace .workspace-disclosure { padding: 12px 14px; margin: 12px 0; border: 1px solid var(--line, #dce5df); border-radius: 8px; background: white; }
body.storefront .supplier-workspace .workspace-disclosure > summary { cursor: pointer; font-weight: 600; font-size: 14px; }
body.storefront .supplier-workspace .workspace-disclosure[open] > summary { margin-bottom: 12px; }
body[data-visual-design="workplace"] #main-content .support-guide-icon { width: 24px; height: 24px; min-width: 24px; border-radius: 6px; }
body[data-visual-design="workplace"] #main-content .support-guide-icon svg { width: 16px; height: 16px; }
@media (min-width: 768px) {
 body[data-visual-design="workplace"] .supplier-product-toolbar { margin-bottom: 12px; }
 body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] > article[data-supplier-product-card] { grid-template-columns: minmax(0,1fr) minmax(280px,32%); }
 body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-footer { padding: 8px 12px; }
 body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-footer > p { margin: 0; font-size: 11px; line-height: 1.45; }
 body[data-visual-design="workplace"] .panel-catalog-results[data-layout="list"] .catalog-product-footer > a { margin-top: 6px; }
}
}

@media screen {
body[data-visual-design="workplace"] #main-content .panel-operation-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body[data-visual-design="workplace"] #main-content .panel-operation-toolbar>:is(nav,.home-view-tabs){margin:0}
body[data-visual-design="workplace"] #main-content .panel-operation-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
body[data-visual-design="workplace"] #main-content .stock-operation-nav{align-items:center}
body[data-visual-design="workplace"] #main-content .stock-product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body[data-visual-design="workplace"] #main-content .stock-product-actions .stock-product-link{width:auto;margin:0}
@media(max-width:640px){body[data-visual-design="workplace"] #main-content .panel-operation-actions{justify-content:flex-start;margin-left:0}}
}

@media screen {
body[data-visual-design="workplace"] #main-content .panel-operation-toolbar .finance-navigation{position:static;padding:0}
body[data-visual-design="workplace"] #main-content .panel-operation-toolbar .finance-navigation-label{display:none}
body[data-visual-design="workplace"] #main-content .panel-operation-toolbar [data-operation-tabs]{display:flex;flex-direction:row;flex-wrap:wrap;margin:0}
body[data-visual-design="workplace"] #main-content .panel-operation-actions .panel-related-tabs{margin:0;border:0}
}

/* Keep every header control reachable on narrow phones, including branch selection. */
@media screen and (max-width:400px) {
 body[data-visual-design="workplace"] .panel-header-home-link { display:none; }
 body[data-visual-design="workplace"] .panel-header-toolbar { height:auto;min-height:72px;align-items:flex-start;gap:8px;padding:12px; }
 body[data-visual-design="workplace"] .panel-header-actions { flex:1;max-width:calc(100% - 48px);flex-wrap:wrap;justify-content:flex-end;gap:4px; }
}
