/* Scoped to source freshness and project provenance; the existing theme owns the palette. */
.project-sync{margin-bottom:18px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:var(--card);font-size:14px;line-height:1.6}
.project-sync-main{display:flex;align-items:center;justify-content:space-between;gap:16px}
.project-sync-main>div{min-width:0}
.project-sync strong{display:block;color:var(--t1);font-size:14px}
.project-sync p{margin:4px 0;color:var(--t2);overflow-wrap:anywhere}
.project-sync button{flex-shrink:0;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--t1);font:inherit;cursor:pointer}
.project-sync button:hover{border-color:var(--blue)}
.project-sync button:focus-visible,.project-sync summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.project-sync button:disabled{opacity:.6;cursor:wait}
.project-sync details{margin-top:8px;color:var(--t2)}
.project-sync summary{cursor:pointer;width:fit-content;text-underline-offset:3px}
.project-sync[data-state=warning] strong{color:var(--yellow)}
.project-sources{margin:22px 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.project-sources h4{font-size:16px;margin:0 0 8px}
.project-source{padding:14px 0;border-bottom:1px solid var(--border)}
.project-source a{color:var(--blue);text-underline-offset:3px}
.project-source dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:12px 0}
.project-source dt{color:var(--t2);font-size:12px}
.project-source dd{margin:2px 0 0;color:var(--t1)}
.source-notes{color:var(--t2);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.source-issues{margin:8px 0 0;padding-left:20px;color:var(--t2)}
@media(max-width:650px){.project-sync-main{align-items:flex-start;flex-direction:column;gap:10px}.project-sync button{font-size:14px;min-height:44px}.project-source dl{grid-template-columns:1fr}}
