/* One visible input boundary: emphasize inward, never add a detached outer ring. */
body.site-design :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]):not([type=file]),select,textarea):is(:focus,:focus-visible){outline:none!important;outline-offset:0!important;border-color:var(--ct-focus,var(--sd-accent,#087f61))!important;box-shadow:inset 0 0 0 1px var(--ct-focus,var(--sd-accent,#087f61))!important;caret-color:var(--ct-text,var(--sd-text,#163c30))!important}
body.site-design input[data-wu-search]{border:1px solid var(--ct-line,#bacfc3)!important;background:var(--ct-surface,#fff)!important;color:var(--ct-text,#163c30)!important;-webkit-text-fill-color:var(--ct-text,#163c30)!important;caret-color:var(--ct-text,#163c30)!important;box-sizing:border-box!important;width:100%;min-width:0}
body.site-design input[data-wu-search]::placeholder{color:var(--ct-muted,#4e695c)!important;-webkit-text-fill-color:var(--ct-muted,#4e695c)!important;opacity:1}
/* Keep separators between rows, omit the redundant final rule inside a card. */
body.wu-portal table tbody tr:last-child,body.admin-body table tbody tr:last-child,body.wu-portal table tbody tr:last-child>:is(td,th),body.admin-body table tbody tr:last-child>:is(td,th){border-bottom:0!important}
body.site-design.sd-portal .record-pagination{border:0!important;padding:14px 0 0!important;margin:16px 0 20px!important;gap:12px!important}
body.site-design.sd-portal .record-pagination+.shortcut-grid{margin-top:0!important}
body.wu-portal :is(.actions,.row-actions,.wu-row-actions,.inquiry-card-actions),body.admin-body :is(.actions,.row-actions){gap:10px!important;flex-wrap:wrap!important}
body.wu-portal .wu-list-filters{align-items:end!important}
body.wu-portal .wu-list-filters>label{min-width:0!important;margin:0!important}
body.wu-portal .wu-list-filters>label>:is(input,select),body.wu-portal .wu-list-filters>button{box-sizing:border-box!important;height:44px!important;min-height:44px!important;margin:0!important;align-self:end!important}
@media(max-width:640px){body.wu-portal .record-pagination{flex-wrap:wrap;row-gap:12px!important}body.wu-portal .record-pagination .actions{margin-left:auto}body.wu-portal .wu-row-actions>button{min-height:40px!important;padding:8px 10px!important;white-space:nowrap}body.wu-portal input[data-wu-search]{font-size:16px!important}}

/* Both merchant and platform catalogs use the same table-cell gutter. */
body.site-design [data-wu-catalog] .wu-bulk-actions{box-sizing:border-box;padding-left:36px!important;padding-right:24px!important}
@media(max-width:640px){body.site-design [data-wu-catalog] .wu-bulk-actions{padding-left:16px!important;padding-right:16px!important}}

/* Keep the homepage field boundary, remove its duplicate enclosing frame. */
html body.site-design.front-body #cfHome #cfhSearch{border-color:transparent!important;box-shadow:none!important;background:transparent!important}
/* One card per order, including its follow-up history. */
body.site-design.sd-portal .order-record>article.card{border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0 0 16px!important}
body.site-design.sd-portal .ops-filter{border-color:var(--ct-line,var(--sd-line,#bacfc3))!important}
body.site-design .wu-product-form label:has(>[data-menu-category]){gap:10px!important}
body.site-design .wu-product-form [data-menu-category]+[data-category-manage]{margin-top:0!important}
@media(max-width:760px){
body.site-design.wu-portal .wu-products-table td[data-label="规格与价格"]::before{content:none!important}
body.site-design.wu-portal .wu-products-table td[data-label="库存"]::before{content:attr(data-label) " "!important;color:var(--wu-muted,var(--ct-muted))}
}
