.dashboard-sync-reminder p { color:#53647f; font-size:15px; line-height:1.6; }
.dashboard-sync-reminder .row-action { min-height:44px; }
body[data-module="sync-center"] #module-page > :not(#sync-center-panel) { display:none !important; }
body[data-module="sync-center"] #module-page { display:flex !important; flex-direction:column; height:calc(100dvh - 120px); overflow:hidden !important; min-height:0; padding:16px !important; }
#sync-center-panel:not([hidden]) { display:flex; flex-direction:column; flex:1; min-height:0; width:100%; padding:20px; background:#fff; border:1px solid #d7e1ef; border-radius:6px; overflow:hidden; }
#sync-center-panel header h2 { margin:0 0 8px; font-size:24px; }
#sync-center-panel header p { margin:0 0 12px; color:#53647f; font-size:15px; }
#sync-center-panel .panel-heading { flex:none; margin:0 0 12px; min-height:24px !important; }
#sync-exceptions-summary { font-size:14px; color:#53647f; font-weight:400; }
.sync-exceptions-filters,.sync-exceptions-pagination { display:flex; flex-wrap:wrap; align-items:center; gap:8px; flex:none; font-size:15px; }
.sync-exceptions-filters label { display:flex; align-items:center; gap:8px; }
.sync-exceptions-filters :is(select,input,button),.sync-exceptions-pagination button { min-height:40px; padding:6px 12px; border:1px solid #d7e1ef; border-radius:6px; color:#11274d; background:#fff; font:inherit; }
.sync-exceptions-list { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; margin-top:12px; font-size:15px; color:#11274d; scrollbar-color:#71809a #f7faff; }
.sync-exception-item { border-bottom:1px solid #d7e1ef; padding:16px 4px; overflow-wrap:anywhere; }
.sync-exception-item > div { display:flex; justify-content:space-between; gap:12px; }
.sync-exception-item > div strong { font-size:17px; }
.sync-exception-item > div span { color:#9b3e08; flex-shrink:0; }
.sync-exception-item p { margin:8px 0; font-size:15px; line-height:1.65; max-width:90ch; color:#11274d; }
.sync-exception-item small { display:block; font-size:14px; color:#53647f; }
.sync-exception-item summary,.sync-service-links summary { cursor:pointer; color:#0868e8; font-size:14px; padding:6px 0; }
.sync-exceptions-pagination { justify-content:flex-end; padding-top:12px; }
.sync-exceptions-pagination span { margin-right:auto; font-variant-numeric:tabular-nums; }
.sync-exceptions-pagination button:disabled { opacity:.5; cursor:not-allowed; }
#sync-center-panel :is(button,input,select,summary):focus-visible { outline:2px solid #0868e8; outline-offset:2px; }
.sync-service-links { flex:none; max-height:100px; overflow:auto; margin-top:8px; }
.sync-service-links .dashboard-sync-list :is(em,small) { display:none !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="warning"] small { color:#9b3e08 !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="warning"] > i { background:#9b3e08 !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="error"] small { color:#bd2121 !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="error"] > i { background:#bd2121 !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="unknown"] small { color:#53647f !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="unknown"] > i { background:#53647f !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="processing"] small { color:#0868e8 !important; }
body.pixel-replica .sidebar-footer .sidebar-service-row[data-sync-tone="processing"] > i { background:#0868e8 !important; }
@media(max-width:900px) {
  body[data-module="sync-center"] #module-page { height:calc(100dvh - 180px); padding:8px !important; }
  #sync-center-panel:not([hidden]) { padding:12px; }
  #sync-center-panel header h2 { font-size:20px; }
  .sync-exceptions-filters :is(input,select,button),.sync-exceptions-pagination button,.sync-exception-item summary,.sync-service-links summary { min-height:44px; }
}
[data-guanjia-manual-sync] { min-height:44px; padding:8px 14px; border:1px solid #0868e8; border-radius:6px; background:#0868e8; color:#fff; font:inherit; cursor:pointer; }
[data-guanjia-manual-sync]:disabled { opacity:.65; cursor:wait; }
[data-guanjia-manual-sync]:focus-visible { outline:2px solid #11274d; outline-offset:3px; }
.panel-heading:has([data-guanjia-manual-sync]) { flex-wrap:wrap; gap:8px; }
[data-guanjia-manual-result] { flex:none; color:#53647f; line-height:1.6; overflow-wrap:anywhere; }

/* Customer keyword search must remain visible in the shared list workspace. */
body.pixel-replica.list-workspace[data-module="customers"] .query-bar .query-search { display:flex !important; order:-1; flex:1 1 280px; min-width:180px; max-width:420px; }
@media(max-width:900px){body.pixel-replica.list-workspace[data-module="customers"] .query-bar .query-search { width:100%; min-width:0; max-width:none; flex-basis:100%; }}

body.pixel-replica.list-workspace[data-module="customers"] .query-bar > #customer-bulk-actions:not([hidden]) { display:flex !important; flex-wrap:wrap; align-items:center; gap:8px; flex:1 0 100%; order:20; }
#customer-bulk-actions[hidden] { display:none !important; }
#customer-bulk-actions button { min-height:44px; height:auto; padding:8px 14px; font-size:14px; }
#customer-bulk-result { color:#53647f; font-size:14px; overflow-wrap:anywhere; }

/* Customer workspace: readable data and name-first identity. */
body.pixel-replica.list-workspace[data-module="customers"] #module-page { font-size:15px; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page :is(th,td) { font-size:15px !important; line-height:1.5; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page td { padding-top:12px; padding-bottom:12px; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page .table-main strong { font-size:16px !important; line-height:1.5; font-weight:600; white-space:normal; overflow-wrap:anywhere; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page .table-main small { font-size:14px !important; line-height:1.5; color:#53647f; margin-top:3px; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page :is(.table-status,.table-link,#table-count,.query-bar input,.query-bar select,.query-bar button,.query-bar label,.query-bar>span,#customer-bulk-result) { font-size:14px !important; }
body.pixel-replica.list-workspace[data-module="customers"] .query-bar button { white-space:nowrap; flex-shrink:0; min-width:max-content; }
body.pixel-replica.list-workspace[data-module="customers"] #module-page :is(.summary-card span,.summary-card small) { font-size:14px !important; }

.customer-status-toggle { border:1px solid currentColor; cursor:pointer; min-height:36px; padding:6px 12px; font:inherit; }
.customer-status-toggle:disabled { opacity:.6; cursor:wait; }
.customer-status-toggle:focus-visible { outline:2px solid #0868e8; outline-offset:3px; }

.customer-stop-confirm { position:fixed; inset:auto; margin:0; padding:18px; width:360px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); box-sizing:border-box; border:1px solid #cdd9e9; border-radius:8px; background:#fff; color:#172b4d; box-shadow:0 8px 28px #172b4d26; font:15px/1.5 "Microsoft YaHei",sans-serif; }
.customer-stop-confirm::backdrop { background:transparent; }
.customer-stop-confirm h3 { margin:0 0 8px; font-size:17px; }
.customer-stop-confirm p { margin:6px 0; overflow-wrap:anywhere; }
.customer-stop-confirm #customer-stop-confirm-description { color:#53647f; font-size:14px; }
.customer-stop-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; }
.customer-stop-actions button { min-height:40px; padding:8px 16px; border:1px solid #cdd9e9; border-radius:5px; background:#fff; color:#172b4d; font:inherit; cursor:pointer; }
.customer-stop-actions [data-stop-confirm] { background:#b42318; border-color:#b42318; color:#fff; }
.customer-stop-actions button:focus-visible { outline:2px solid #0868e8; outline-offset:3px; }
