/* Sync health panel: restrained brand styling with mobile-first drilldown. */
.sync-health-panel{border-top:3px solid #e97826;min-width:0}
.sync-health-panel .sync-health-title{display:flex;gap:12px;align-items:center;justify-content:space-between}
.sync-health-panel .sync-health-title .sub{max-width:650px}
.sync-health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:11px 13px}
.sync-health-summary>div{border-radius:8px;border:1px solid var(--l,#dfe4e8);padding:8px;min-width:0}
.sync-health-summary b{display:block;font-size:18px}.sync-health-summary span{font-size:10px;color:var(--m,#6c7680)}
.sync-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 13px 12px}
.sync-health-group{border:1px solid var(--l,#dfe4e8);border-radius:10px;overflow:hidden;min-width:0}
.sync-health-group>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:#f6f7f8;cursor:pointer;font-size:13px}
.sync-health-group>summary::-webkit-details-marker{display:none}
.sync-health-group>summary:after{content:'⌄';font-size:16px;color:#6c7680}
.sync-health-group[open]>summary:after{transform:rotate(180deg)}
.sync-health-group>summary span{font-size:10px;color:#686e75;margin-left:auto;text-align:right}
.sync-health-group-body{padding:0 9px 6px}
.sync-health-line{border-bottom:1px solid #dfe4e885;padding:10px 2px;display:flex;flex-direction:column;gap:5px}
.sync-health-line:last-child{border:0}
.sync-health-row{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.sync-health-row>b{min-width:0;overflow-wrap:anywhere}
.sync-health-badge{padding:3px 7px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}
.sync-health-badge.ok{background:#e6f4ea;color:#176d43}
.sync-health-badge.warn{background:#fff2df;color:#995300}
.sync-health-badge.bad{background:#feecea;color:#9b3028}
.sync-health-badge.muted{background:#edf1f4;color:#48515b}
.sync-health-meta{display:flex;gap:3px 12px;flex-wrap:wrap;line-height:1.45;font-size:10px;color:var(--m,#6c7680)}
.sync-health-meta b{font-weight:650;color:var(--i,#20262d)}
.sync-health-issue{color:#9b3028}
.sync-health-foot{margin:0;padding:0 13px 12px}
@media(max-width:780px){.sync-health-grid{grid-template-columns:1fr}.sync-health-panel .sync-health-title{align-items:flex-start;flex-direction:column}.sync-health-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.sync-health-meta{flex-direction:column}.sync-health-group>summary{font-size:12px}}
