.sync-conflict-dialog { width: min(900px, calc(100vw - 48px)); max-height: 85vh; padding: 22px; border: 1px solid #cbd5e1; border-radius: 6px; color: #19324d; }
.sync-conflict-dialog::backdrop { background: rgb(20 35 50 / 35%); }
.sync-conflict-dialog h2 { margin: 0 0 8px; font-size: 20px; }
.sync-conflict-dialog p { margin: 0 0 16px; font-size: 14px; color: #52677b; }
.sync-conflict-list { max-height: 55vh; overflow: auto; }
.sync-conflict-dialog fieldset { margin: 0 0 16px; padding: 12px; border: 1px solid #dbe4ec; min-width: 0; }
.sync-conflict-dialog legend { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.sync-conflict-dialog label { display: grid; grid-template-columns: 18px 104px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 0; font-size: 14px; cursor: pointer; }
.sync-conflict-dialog label span { overflow-wrap: anywhere; white-space: pre-wrap; }
.sync-conflict-dialog input { margin: 3px 0 0; width: 16px; height: 16px; }
.sync-conflict-dialog footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 16px; }
.sync-conflict-dialog button { min-height: 36px; padding: 6px 14px; border: 1px solid #cbd8e6; border-radius: 4px; background: #fff; color: #234564; font: inherit; font-size: 14px; cursor: pointer; }
.sync-conflict-dialog button.primary-button { background: #1769e0; border-color: #1769e0; color: #fff; }
.sync-conflict-dialog button:hover { filter: brightness(.96); }
.sync-conflict-dialog button:disabled { opacity: .6; cursor: wait; }
.sync-conflict-dialog button:focus-visible { outline: 2px solid #1769e0; outline-offset: 2px; }
.sync-conflict-dialog input[type=radio] { box-shadow: none; }
.audit-dialog details { border-bottom: 1px solid #dbe4ec; padding: 12px 0; font-size: 14px; }
.audit-dialog summary { cursor: pointer; overflow-wrap: anywhere; }
.audit-dialog table { width: 100%; table-layout: fixed; margin-top: 10px; border-collapse: collapse; }
.audit-dialog th, .audit-dialog td { text-align: left; vertical-align: top; padding: 8px; border: 1px solid #dbe4ec; overflow-wrap: anywhere; white-space: pre-wrap; }
.audit-dialog th:first-child { width: 20%; }
.workbench-status-bar[data-sync-state="conflict"]:not([hidden]),
.workbench-status-bar[data-sync-state="error"]:not([hidden]) { display: flex !important; position: sticky; top: 64px; z-index: 20; min-height: 40px; padding: 8px 12px; background: #fff8eb; border: 1px solid #edd7a7; border-radius: 0; }
.workbench-status-bar[data-sync-state="conflict"] .workbench-status-primary,
.workbench-status-bar[data-sync-state="conflict"] .workbench-status-permission,
.workbench-status-bar[data-sync-state="error"] .workbench-status-primary,
.workbench-status-bar[data-sync-state="error"] .workbench-status-permission { display: none; }
.workbench-status-bar[data-sync-state="conflict"] .workbench-status-sync,
.workbench-status-bar[data-sync-state="error"] .workbench-status-sync { width: 100%; justify-content: flex-start; color: #925d10; font-size: 14px; }
