.dashboard-sync{border-top:2px solid #1677ff;padding:16px;margin-bottom:12px}.dashboard-sync-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.dashboard-sync h2{font-size:14px;margin:0;color:#334c70}.dashboard-sync p,.dashboard-sync-times,.dashboard-sync-progress,.dashboard-sync-notice,.dashboard-sync-links{font-size:12px;line-height:1.7}.dashboard-sync p{margin:5px 0;color:#667b98}.dashboard-sync-times,.dashboard-sync-progress,.dashboard-sync-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px}.dashboard-sync-times b{font-weight:600;color:#435b7c;margin-left:5px}.dashboard-sync-progress{color:#576e8f}.dashboard-sync-notice:empty{display:none}.dashboard-sync-notice{color:#a25b19;margin-top:8px}.dashboard-sync-problems{padding:0;list-style:none;display:grid;gap:6px;margin:10px 0}.dashboard-sync-problems li{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#a25b19;background:#fff9ed;padding:7px 10px;border-radius:6px}.dashboard-sync-problems b{color:#6b5b47;font-weight:600}.dashboard-sync-links a{color:#1677ff}.metric-quality{display:block;font-size:11px;line-height:1.55;font-weight:400;color:#8c6b26;white-space:normal;margin-top:5px;overflow-wrap:anywhere}.metric-quality.is-complete{color:#667f9a}.metric-quality.is-missing{color:#987040}.ad-metrics article .metric-quality,.perf-cards button .metric-quality{font-size:10px;line-height:1.5;min-height:15px}.data-notes-visible{font-size:11px;color:#71829a;line-height:1.6;margin:10px 0 0}.health-item small{display:block;font-size:10px;font-weight:400;color:#71829a;margin-top:3px}.perf-cards button{height:auto;min-height:112px}.ad-metrics article strong{overflow-wrap:anywhere}@media(max-width:700px){.dashboard-sync-head{align-items:flex-start}.dashboard-sync-head .button{flex-shrink:0}.dashboard-sync-times{gap:4px}.dashboard-sync-times span{width:100%}}

.dashboard-sync-summary{min-width:0;flex:1}.dashboard-sync-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dashboard-sync-state{font-size:11px;line-height:1.6;color:#667b98}.dashboard-sync-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.dashboard-sync-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;white-space:nowrap;color:#667b98}.dashboard-sync-toggle:focus-visible{outline:2px solid #1677ff;outline-offset:3px;border-radius:4px}.dashboard-sync-chevron{display:inline-block;font-size:16px;line-height:1;transform:translateY(2px)}.dashboard-sync-toggle[aria-expanded="false"] .dashboard-sync-chevron{transform:rotate(180deg) translateY(1px)}.dashboard-sync-body[hidden]{display:none!important}.dashboard-sync-body{margin-top:10px}.dashboard-sync-head .dashboard-sync-times{gap:4px 16px;margin-top:5px}.dashboard-sync-head .dashboard-sync-times span{display:inline-flex;gap:3px;flex-wrap:wrap}.dashboard-sync-head .dashboard-sync-times b{margin-left:0}@media(max-width:700px){.dashboard-sync-head{flex-wrap:wrap;gap:10px}.dashboard-sync-actions{margin-left:auto}.dashboard-sync-head .dashboard-sync-times span{width:auto}.dashboard-sync-head .dashboard-sync-times{gap:3px 12px}}

.dashboard-sync[hidden]{display:none!important}.module-restore[data-dashboard-sync-status]::after{content:"";display:block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;margin-top:4px;background:#93a3b9}.module-restore[data-dashboard-sync-status="running"]::after{background:#1677ff}.module-restore[data-dashboard-sync-status="warning"]::after{background:#d4892b}.module-restore[data-dashboard-sync-status="complete"]::after{background:#0fa58d}

.dashboard-sync-toggle[data-module-collapse] .dashboard-sync-chevron{transform:rotate(90deg)}
