#cysw-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999999;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        background: transparent;
        color: #222;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        font-size: 14px;
        line-height: 1.2;
        pointer-events: none;
}

#cysw-bar * {
        box-sizing: border-box;
        pointer-events: auto;
}

.cysw-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border: 1px solid rgba( 213, 32, 44, 0.6 );
        border-radius: 4px;
        background: #d5202c;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.2 );
        transition: background 0.15s ease, opacity 0.15s ease;
}

.cysw-btn:hover:not( :disabled ) {
        background: #b81b26;
}

.cysw-btn:disabled {
        opacity: 0.6;
        cursor: default;
}

.cysw-flag {
        font-size: 16px;
}

.cysw-hidden {
        display: none !important;
}

.cysw-status {
        font-size: 12px;
        color: #222;
        background: rgba( 255, 255, 255, 0.85 );
        padding: 4px 8px;
        border-radius: 4px;
}

.cysw-status-error {
        color: #b81b26;
        font-weight: 600;
}

.cysw-editable {
        outline: 2px dashed rgba( 213, 32, 44, 0.6 );
        outline-offset: 4px;
}

body.cysw-no-shift {
        margin-top: 0;
}
