.sync-indicator-spacer { display: block; width: 100%; height: calc(var(--sync-indicator-height, 48px) + 24px); flex: 0 0 auto; }
.sync-indicator { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 10px 20px; background: #f5f1fb; color: #352445; border-top: 2px solid #a08bb4; box-shadow: 0 -2px 10px #0001; font: 13px/1.4 system-ui, sans-serif; }
.sync-indicator[data-state="ok"] { border-color: #218253; background: #eaf7ef; }
.sync-indicator[data-state="error"] { border-color: #b33129; background: #fff0ee; }
.sync-indicator button, .pending-dialog button { border: 1px solid #a08bb4; border-radius: 6px; padding: 5px 10px; background: white; color: #352445; cursor: pointer; font: inherit; }
#connection-alert { color: #8e2620; font-weight: 600; }
#connection-alert[hidden] { display: none; }
#offline-capability { font-size: 12px; }
.pending-dialog { max-width: 650px; width: calc(100% - 32px); max-height: 80vh; overflow: auto; border: 1px solid #a08bb4; border-radius: 12px; padding: 24px; }
.pending-dialog::backdrop { background: #23133288; }
.pending-item { padding: 12px 0; border-bottom: 1px solid #ddd; }
.pending-item a, .pending-item button { margin-right: 12px; }
.pending-conflict { border-left: 4px solid #b33129; padding-left: 10px; background: #fff0ee; }
.pending-conflict p { color: #8e2620; font-weight: 700; }
.version-conflict-notice { margin-bottom: 18px; }
@media (max-width: 650px) { .sync-indicator { gap: 4px 10px; padding: 7px 10px; } #offline-capability { display: none; } }
