.sync-warning {
    position: sticky;
    top: 0;
    z-index: 110;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 14px;
    padding: 12px max(16px, calc((100vw - 1240px) / 2 + 22px));
    border-bottom: 3px solid #a21d2f;
    background: #fde4e7;
    color: #761322;
    font-size: .94rem;
    line-height: 1.4;
    box-shadow: 0 3px 10px #14203326;
}
.sync-warning[hidden] { display: none; }
body:has(.sync-warning:not([hidden])) .topbar { position: relative; }
.sync-warning a { color: #761322; text-decoration: underline; font-weight: 700; }
.sync-warning [data-sync-warning-targets] { font-weight: 750; }
.booking-sync { margin: 14px 0 22px; padding: 16px; border: 1px solid #aebac7; border-radius: 8px; background: #fff; }
.booking-sync p { margin: 6px 0; }
.booking-sync ul { margin: 8px 0 0; padding-left: 22px; }
.booking-sync li { margin: 6px 0; }
.xtc-status { display: inline-block; padding: 4px 9px; border: 1px solid #aebac7; border-radius: 6px; background: #edf1f5; color: #334155; font-size: .88rem; font-weight: 650; white-space: normal; }
.xtc-status-error, .xtc-status-blocked { background: #fde4e7; border-color: #a21d2f; color: #761322; }
.xtc-status-pending, .xtc-status-paused { background: #fff0c2; border-color: #997228; color: #684607; }
.xtc-status-confirmed { background: #d8f1e7; border-color: #007760; color: #004c41; }
.count-shell > .sync-warning { padding: 12px 14px; margin: 0 0 14px; border: 2px solid #a21d2f; border-radius: 8px; }
