/* Shared presentation only. No business fields, events or visibility changes. */
html[data-wb-style="unified"]{--wb-font:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--wb-border:#dbc8b6;--wb-head:#f2ede5;--wb-muted:#786858}
html[data-wb-style="unified"] body{font-family:var(--wb-font)!important;font-size:14px;line-height:1.5}
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(button,input,select,textarea){font-family:var(--wb-font)!important;box-sizing:border-box}
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(input:not([type]),input[type=text],input[type=search],input[type=number],input[type=date],input[type=month],input[type=email],input[type=tel],input[type=password],input[type=url],select:not([multiple])){height:40px!important;min-height:40px!important;font-size:14px!important;line-height:normal!important;padding:0 12px!important;border-radius:8px!important;border-width:1px;border-color:var(--wb-border)}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) textarea{font-size:14px!important;line-height:1.5!important;border-radius:8px!important;border-color:var(--wb-border);padding:10px 12px}
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(input,select,textarea):focus-visible{outline:2px solid #b8a086;outline-offset:2px}
/* Navigation, image controls, calendar cells, color cards and icon-only buttons retain geometry. */
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(button.btn,button.button,button.primary,button.secondary,button.ghost,button.danger,.filters button,.filter-bar button,.sales-filter-bar button,.wh-filters button,.custom-filters button,.after-sales-filter button,.toolbar button,.modal-footer button,.dialog-footer button,button.wb-month-trigger){min-height:40px!important;font-size:14px!important;line-height:1.4!important;padding:8px 12px!important;border-radius:8px!important;box-sizing:border-box}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) table:not(:where(.customer-orders-table,.wh-orders-table table,.wh-custom-table table,.after-sales-table,.split-service-refunds .split-orders-table,.wh-replenishment-table table)){font-family:var(--wb-font)!important;font-size:14px!important}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) table:not(:where(.customer-orders-table,.wh-orders-table table,.wh-custom-table table,.after-sales-table,.split-service-refunds .split-orders-table,.wh-replenishment-table table)) th{font-family:var(--wb-font)!important;font-size:14px!important;line-height:1.5!important;font-weight:600!important;background-color:var(--wb-head)!important;color:#725f4d!important;padding:12px 14px!important;border-color:#e6d9cc}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) table:not(:where(.customer-orders-table,.wh-orders-table table,.wh-custom-table table,.after-sales-table,.split-service-refunds .split-orders-table,.wh-replenishment-table table)) td{font-family:var(--wb-font)!important;font-size:14px!important;line-height:1.5!important;padding:12px 14px!important;border-color:#eee5da}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) table:not(:where(.customer-orders-table,.wh-orders-table table,.wh-custom-table table,.after-sales-table,.split-service-refunds .split-orders-table,.wh-replenishment-table table)) td button:not(:has(img,svg,canvas)):not([class*=icon]):not([class*=image]):not([class*=preview]){min-height:32px!important;font-size:13px!important;line-height:1.4!important;padding:5px 10px!important;border-radius:8px!important}
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(.filters,.filter-bar,.sales-filter-bar,.wh-filters,.custom-filters,.after-sales-filter){gap:12px!important;align-items:center}
html[data-wb-style="unified"]  :is(#root#root,#app#app,body) :is(.form-field,.form-group,.field)>label{font-size:13px!important;line-height:1.5;color:var(--wb-muted)}
/* Existing status colors, column widths, sticky positions and multi-line fields remain owned by their pages. */
@media print{html[data-wb-style="unified"] :is(#root#root,#app#app,body) table:not(:where(.customer-orders-table,.wh-orders-table table,.wh-custom-table table,.after-sales-table,.split-service-refunds .split-orders-table,.wh-replenishment-table table)) :is(th,td){padding:6px!important}}
html[data-wb-style="unified"] :is(#root#root,#app#app,body) input:is([type=checkbox],[type=radio]){width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;vertical-align:middle;flex-shrink:0;accent-color:#70543e}

/* Close every table across its full width, including cells spanning the final row. */
html[data-wb-style="unified"] :is(#root#root,#app#app,body) table{border-bottom:1px solid #eee5da!important}
